drag_set_icon_pixbuf
function drag_set_icon_pixbuf(context:Gdk.DragContext, pixbuf:GdkPixbuf.Pixbuf, hot_x:Number, hot_y:Number):void { // Gjs wrapper for gtk_drag_set_icon_pixbuf() }
Sets pixbuf as the icon for a given drag.
- context
the context for a drag. (This must be called with a context for the source side of a drag)
- pixbuf
the GdkPixbuf.Pixbuf to use as the drag icon.
- hot_x
the X offset within @widget of the hotspot.
- hot_y
the Y offset within @widget of the hotspot.