grab_get_current

function grab_get_current():Gtk.Widget {
    // Gjs wrapper for gtk_grab_get_current()
}

Queries the current grab of the default window group.

Returns

The widget which currently has the grab or null if no grab is active