Package: gtk
Accessor gtk:menu-item-accel-path
Lambda Listgtk:menu-item-accel-path (object) SyntaxArgumentsDetails Accessor of the accel-path slot of the gtk:menu-item class. The gtk:menu-item-accel-path function retrieve the accelerator path that was previously set on the menu item. The (setf gtk:menu-item-accel-path)
function sets the accelerator path on the menu item, through which runtime
changes of the accelerator of the menu item caused by the user can be identified and saved to persistent storage, see the gtk:accel-map-save
function on this. To set up a default accelerator for this menu item, call the gtk:accel-map-add-entry function with the same path. See also the gtk:accel-map-add-entry function on the specifics of accelerator paths, and the gtk:menu-accel-path function for a more convenient variant of this function. This function is basically a convenience wrapper that handles calling the gtk:widget-set-accel-path function with the appropriate accelerator group for the menu item. Note that you do need to set an accelerator on the parent menu with the gtk:menu-accel-group function for this to work. | See also |
#2023-3-21