Description Usage Arguments Details Author(s)
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.
1 | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.