Method
GtkAccelGroupactivate
Declaration [src]
gboolean
gtk_accel_group_activate (
GtkAccelGroup* accel_group,
GQuark accel_quark,
GObject* acceleratable,
guint accel_key,
GdkModifierType accel_mods
)
Description [src]
Finds the first accelerator in accel_group
that matches
accel_key
and accel_mods
, and activates it.
Parameters
accel_quark
-
Type:
GQuark
The quark for the accelerator name.
acceleratable
-
Type:
GObject
The
GObject
, usually aGtkWindow
, on which to activate the accelerator.The data is owned by the caller of the method. accel_key
-
Type:
guint
Accelerator keyval from a key event.
accel_mods
-
Type:
GdkModifierType
Keyboard state mask from a key event.