Class Menu.menuitem

An entry in a menu. The child of the entry is displayed in the menu. A (sub)menu can be attached to the item. In this case, when the item is unfolded, its attached menu is displayed.

inherit Stk.Bin.bin

Properties

method shortcut : Stk.Key.keystate option
method set_shortcut : Stk.Key.keystate -> unit
method remove_menu : unit
method set_menu : menu -> unit

Actions

method activate : unit

Activates the item. If no submenu is attached, triggers the the Widget.Activated event.