RGtk2 (version 2.20.31)

gtkAccelGroupActivate: gtkAccelGroupActivate

Description

Finds the first accelerator in accel.group that matches accel.key and accel.mods, and activates it.

Usage

gtkAccelGroupActivate(object, accel.quark, acceleratable, accel.key, accel.mods)

Arguments

accel.quark
the quark for the accelerator name
acceleratable
the GObject, usually a GtkWindow, on which to activate the accelerator.
accel.key
accelerator keyval from a key event
accel.mods
keyboard state mask from a key event

Value

TRUE if an accelerator was activated and handled this keypress