18 Menu
|
Classes created with this mixin remember their keybindings so the keybindings can be removed and then restored.
(send a-menu:can-restore restore-keybinding) → void
Sets the keyboard shortcut to the setting it had when the class was created.
menu:can-restore-mixin : (class? . -> . class?) | ||
| ||
|
|
These menus can save and restore the underscores (indicated via the \& characters in the original labels) in their labels.
If the preference 'framework:menu-bindings is #f, calls erase-underscores during initialization.
(send a-menu:can-restore-underscore erase-underscores) → void
Erases the underscores in the label of this menu, but remembers them so they can be restores with restore-underscores.
(send a-menu:can-restore-underscore restore-underscores)
→ void
Restores underscores in the menu’s label to their original state.
menu:can-restore-underscore-mixin : (class? . -> . class?) | ||
| ||
|
superclass: (menu:can-restore-mixin menu-item%) |
superclass: (menu:can-restore-mixin checkable-menu-item%) |
superclass: (menu:can-restore-underscore-mixin menu%) |