gtkAccelGroupConnectByPath
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.
gtkAccelGroupConnectByPath(object, accel.path, closure)
|
the accelerator group to install an accelerator in |
|
path used for determining key and modifiers. |
|
closure to be executed upon accelerator activation |
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()
.
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.