gtkAccelGroupsActivate {RGtk2}R Documentation

gtkAccelGroupsActivate

Description

Finds the first accelerator in any GtkAccelGroup attached to object that matches accel.key and accel.mods, and activates that accelerator. If an accelerator was activated and handled this keypress, TRUE is returned.

Usage

gtkAccelGroupsActivate(object, accel.key, accel.mods)

Arguments

object [GObject] the GObject, usually a GtkWindow, on which to activate the accelerator.
accel.key [numeric] accelerator keyval from a key event
accel.mods [GdkModifierType] keyboard state mask from a key event

Value

[logical] TRUE if the accelerator was handled, FALSE otherwise

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]