W Wrapl, The Programming Language

Libraries:Gtk:Gtk:Accel

Functions

GroupsActivate(object @ Gtk.GObject.Object.T, accel_key @ Std.Integer.SmallT, accel_mods @ Std.Integer.SmallT) : Std.Symbol.T

Finds the first accelerator in any Gtk.Gtk.AccelGroup.T attached to object that matches accel_key and accel_mods, and activates that accelerator.

object the GObject, usually a Gtk.Gtk.Window.T, on which to activate the accelerator.
accel_key accelerator keyval from a key event
accel_mods keyboard state mask from a key event
Returns TRUE if an accelerator was activated and handled this keypress


GroupsFromObject(object @ Gtk.GObject.Object.T) : Std.Object.T

Gets a list of all accel groups which are attached to object.

object a GObject, usually a Gtk.Gtk.Window.T
Returns a list of all accel groups which are attached to object. [element-type GtkAccelGroup][transfer none]