gtkAccelGroupActivate {RGtk2}R Documentation

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

object

a GtkAccelGroup

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

[logical] TRUE if an accelerator was activated and handled this keypress

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.20.21 Index]