Description Usage Arguments Details Value Author(s)
Changes the accel.key
and accel.mods
currently associated with accel.path
.
Due to conflicts with other accelerators, a change may not always be possible,
replace
indicates whether other accelerators may be deleted to resolve such
conflicts. A change will only occur if all conflicts could be resolved (which
might not be the case if conflicting accelerators are locked). Successful
changes are indicated by a TRUE
return value.
1 | gtkAccelMapChangeEntry(accel.path, accel.key, accel.mods, replace)
|
|
a valid accelerator path |
|
the new accelerator key |
|
the new accelerator modifiers |
|
|
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()
.
[logical] TRUE
if the accelerator could be changed, FALSE
otherwise
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.