Function
GtkDragIconset_from_paintable
Declaration [src]
void
gtk_drag_icon_set_from_paintable (
GdkDrag* drag,
GdkPaintable* paintable,
int hot_x,
int hot_y
)
Description [src]
Creates a GtkDragIcon that shows paintable, and associates
it with the drag operation.
The hotspot position on the paintable is aligned with the hotspot of the cursor.
Parameters
drag-
Type:
GdkDragA
GdkDragThe data is owned by the caller of the function. paintable-
Type:
GdkPaintableA
GdkPaintableto display.The data is owned by the caller of the function. hot_x-
Type:
intX coordinate of the hotspot.
hot_y-
Type:
intY coordinate of the hotspot.