Gtk.Widget.prototype.drag_dest_set_track_motion

function drag_dest_set_track_motion(track_motion:Boolean):void {
    // Gjs wrapper for gtk_drag_dest_set_track_motion()
}

Tells the widget to emit Gtk.drag-motion and Gtk.drag-leave events regardless of the targets and the Gtk.DestDefaults.motion flag.

This may be used when a widget wants to do generic actions regardless of the targets that the source offers.

Since 2.10

track_motion

whether to accept all targets