Gtk.AccelGroup.prototype.query
function query(accel_key:Number, accel_mods:Gdk.ModifierType):[Gtk.AccelGroupEntry] { // Gjs wrapper for gtk_accel_group_query() }
Queries an accelerator group for all entries matching accel_key and accel_mods.
- accel_key
key value of the accelerator
- accel_mods
modifier combination of the accelerator
- Returns
an array of n_entries Gtk.AccelGroupEntry elements, or null. The array is owned by GTK+ and must not be freed.