Function

Gtkaccel_groups_activate

Declaration [src]

gboolean
gtk_accel_groups_activate (
  GObject* object,
  guint accel_key,
  GdkModifierType accel_mods
)

Description [src]

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

Parameters

object

Type: GObject

The GObject, usually a GtkWindow, on which to activate the accelerator.

The data is owned by the caller of the function.
accel_key

Type: guint

Accelerator keyval from a key event.

accel_mods

Type: GdkModifierType

Keyboard state mask from a key event.

Return value

Type: gboolean

TRUE if an accelerator was activated and handled this keypress.