set_from_paintable


Description:

public static void set_from_paintable (Drag drag, Paintable paintable, int hot_x, int hot_y)

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

a `GdkDrag`

paintable

a `GdkPaintable` to display

hot_x

X coordinate of the hotspot

hot_y

Y coordinate of the hotspot




2022 vala-language.org