Gtk.Widget.prototype.grab_remove

function grab_remove():void {
    // Gjs wrapper for gtk_grab_remove()
}

Removes the grab from the given widget.

You have to pair calls to Gtk.Widget.prototype.grab_add and Gtk.Widget.prototype.grab_remove.

If widget does not have the grab, this function does nothing.