Gtk.Widget.prototype.drag_source_set_icon_pixbuf
function drag_source_set_icon_pixbuf(pixbuf:GdkPixbuf.Pixbuf):void { // Gjs wrapper for gtk_drag_source_set_icon_pixbuf() }
Sets the icon that will be used for drags from a particular widget from a GdkPixbuf.Pixbuf. GTK+ retains a reference for pixbuf and will release it when it is no longer needed.
- pixbuf
the GdkPixbuf.Pixbuf for the drag icon