Function

Gtkaccel_groups_activate

Declaration [src]

gboolean
gtk_accel_groups_activate(
GObject*object,
guintaccel_key,
GdkModifierTypeaccel_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:

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:

Keyboard state mask from a key event.

Return value

Type: gboolean

TRUE if an accelerator was activated and handled this keypress.

AltStyle によって変換されたページ (->オリジナル) /