Function
Gtkdrag_set_icon_widget
Declaration [src]
void
gtk_drag_set_icon_widget (
GdkDragContext* context,
GtkWidget* widget,
gint hot_x,
gint hot_y
)
Description [src]
Changes the icon for drag operation to a given widget. GTK+ will not destroy the widget, so if you don’t want it to persist, you should connect to the “drag-end” signal and destroy it yourself.
Parameters
context-
Type:
GdkDragContextThe 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. widget-
Type:
GtkWidgetA widget to use as an icon.
The data is owned by the caller of the function. hot_x-
Type:
gintThe X offset within
widgetof the hotspot. hot_y-
Type:
gintThe Y offset within
widgetof the hotspot.