Open abstract instantiable class
The class of all buttons that can appear in menus.
duim-gadgets
duim-gadgets
The class of all buttons that can appear on menus.
You should take special care to define keyboard accelerators and keyboard mnemonics for any menu buttons you create. For a full discussion on this, see the entry for <button>, page 532
Internally, this class maps into the menu item Windows control.
contain
(make(<menu-button>, label: "Hello",
activate-callback:
method (gadget)
notify-user
(format-to-string
("Pressed button %=", gadget),
owner: gadget) end)); <menu-box>, page 615
<push-menu-button>, page 629
<radio-menu-button>, page 634