gtkAccelGroupConnectByPath: gtkAccelGroupConnectByPath

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

Installs an accelerator in this group, using an accelerator path to look up the appropriate key and modifiers (see gtkAccelMapAddEntry). When accel.group is being activated in response to a call to gtkAccelGroupsActivate, closure will be invoked if the accel.key and accel.mods from gtkAccelGroupsActivate match the key and modifiers for the path.

Usage

1
gtkAccelGroupConnectByPath(object, accel.path, closure)

Arguments

object

the accelerator group to install an accelerator in

accel.path

path used for determining key and modifiers.

closure

closure to be executed upon accelerator activation

Details

The signature used for the closure is that of GtkAccelGroupActivate.

Note that accel.path string will be stored in a GQuark. Therefore, if you pass a static string, you can save some memory by interning it first with gInternStaticString().

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.