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

Type: 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

Type: GdkPixbuf

The GdkPixbuf to use as the drag icon.

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

Type: gint

The X offset within widget of the hotspot.

hot_y

Type: gint

The Y offset within widget of the hotspot.