Method

GtkWidgetdrag_source_set_icon_pixbuf

Declaration [src]

void
gtk_drag_source_set_icon_pixbuf (
  GtkWidget* widget,
  GdkPixbuf* pixbuf
)

Description [src]

Sets the icon that will be used for drags from a particular widget from a GdkPixbuf. GTK+ retains a reference for pixbuf and will release it when it is no longer needed.

Parameters

pixbuf

Type: GdkPixbuf

The GdkPixbuf for the drag icon.

The data is owned by the caller of the method.