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:
GQuarkThe quark for the accelerator name.
acceleratable-
Type:
GObjectThe
GObject, usually aGtkWindow, on which to activate the accelerator.The data is owned by the caller of the method. accel_key-
Type:
guintAccelerator keyval from a key event.
accel_mods-
Type:
GdkModifierTypeKeyboard state mask from a key event.