Function gtk::accel_groups_activate [−][src]
pub fn accel_groups_activate<P: IsA<Object>>(
object: &P,
accel_key: u32,
accel_mods: ModifierType
) -> bool
Expand description
Finds the first accelerator in any AccelGroup attached
to object that matches accel_key and accel_mods, and
activates that accelerator.
object
the glib::Object, usually a Window, on which
to activate the accelerator
accel_key
accelerator keyval from a key event
accel_mods
keyboard state mask from a key event
Returns
true if an accelerator was activated and handled
this keypress