Gtk.Entry.prototype.get_current_icon_drag_source
function get_current_icon_drag_source():Number {
// Gjs wrapper for gtk_entry_get_current_icon_drag_source()
}Returns the index of the icon which is the source of the current DND operation, or -1.
This function is meant to be used in a Gtk.drag-data-get callback.
Since 2.16
- Returns
index of the icon which is the source of the current DND operation, or -1.