accel.path
with the canonical accel.key
and accel.mods
for this path.
To change the accelerator during runtime programatically, use
gtkAccelMapChangeEntry
.
The accelerator path must consist of "gtkAccelMapAddEntry(accel.path, accel.key, accel.mods)
accel.path
accel.key
accel.mods
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()
.