Method
Gtk.DragSource.set_icon
Declaration [src]
void
gtk_drag_source_set_icon (
GtkDragSource* source,
GdkPaintable* paintable,
int hot_x,
int hot_y
)
Description [src]
Sets a paintable to use as icon during DND operations.
The hotspot coordinates determine the point on the icon that gets aligned with the hotspot of the cursor.
If paintable
is NULL
, a default icon is used.
This function can be called before a drag is started, or in
a GtkDragSource::prepare
or
GtkDragSource::drag-begin
signal handler.