Gtk.AccelGroup.prototype.find

function find(find_func:Gtk.AccelGroupFindFunc):Gtk.AccelKey {
    // Gjs wrapper for gtk_accel_group_find()
}

Finds the first entry in an accelerator group for which find_func returns true and returns its Gtk.AccelKey.

find_func

a function to filter the entries of accel_group with

Returns

the key of the first entry passing find_func. The key is owned by GTK+ and must not be freed.