drag_get_source_widget
function drag_get_source_widget(context:Gdk.DragContext):Gtk.Widget { // Gjs wrapper for gtk_drag_get_source_widget() }
Determines the source widget for a drag.
- context
a (destination side) drag context
- Returns
if the drag is occurring within a single application, a pointer to the source widget. Otherwise, null.