Gtk.Widget.prototype.drag_source_set_target_list
function drag_source_set_target_list(target_list:Gtk.TargetList):void { // Gjs wrapper for gtk_drag_source_set_target_list() }
Changes the target types that this widget offers for drag-and-drop. The widget must first be made into a drag source with Gtk.Widget.prototype.drag_source_set.
Since 2.4
- target_list
list of draggable targets, or null for none