Function

Gtkdrag_set_icon_pixbuf

Declaration [src]

void
gtk_drag_set_icon_pixbuf (
  GdkDragContext* context,
  GdkPixbuf* pixbuf,
  gint hot_x,
  gint hot_y
)

Description [src]

Sets pixbuf as the icon for a given drag.

Parameters

context GdkDragContext
 

The context for a drag (This must be called with a context for the source side of a drag)

 The data is owned by the caller of the function.
pixbuf GdkPixbuf
 

The GdkPixbuf to use as the drag icon.

 The data is owned by the caller of the function.
hot_x gint
 

The X offset within widget of the hotspot.

hot_y gint
 

The Y offset within widget of the hotspot.