moby
class MenuItem
since 0.1.0-alpha.1linux
- bases
Focusable,Styleable,ISingleLine
Constructors
new
new()Fields
chord
string chordcloseAction_
() => void closeAction_enabled
bool enabledhasClose_
bool hasClose_label
string labelselectHandlers_
Array<() => void> selectHandlers_selectTokens_
Array<int> selectTokens_Methods
__setClose
__setClose(() => void a) -> voidactivate
activate() -> voidchord
chord(string s) -> MenuItemcontentDesired
enable
enable(bool v) -> MenuItemfireSelect
fireSelect() -> voidlabel
label(string s) -> MenuItemoffSelect
offSelect(int token) -> voidonSelect
onSelect(() => void h) -> intpaintContent
paintContent(Surface s) -> void