The menu->kind
method allows for the selection of some commonly occurring combinations
of menu parameters with a single method. The available options are:
- cycle
- Only display the selection. Clicking on the menu selects the next
right-item. The menu has a popup-menu associated that allows for an
overview of all available items. Useful for not very commonly used
menu's as it uses much less space on the screen.
- marked
- Single selection menu with markers (see menu
<-on_image
and
menu<-off_image)
to indicate the selected item.
- toggle
- As marked, but multiple items may be selected.
- choice
- As marked, but the selection is indicated by inverting the it.
- popup
- Used internally. Popup menus are implemented on top of class menu.
- cycle_popup
- Used internally for the popup of menu
<-kind
cycle menus.
- See also
- - menu
-kind
- class menu