LEVIATHAN v962456e · 962456eee1

dagon

class MenuItem

since 0.1.0-alpha.1linux

bases
Focusable, Styleable

Constructors

new

new()

Fields

chord_

string chord_

closeAction_

() => void closeAction_

enabled_

bool enabled_

hasClose_

bool hasClose_

label_

string label_

selectHandlers_

Array<() => void> selectHandlers_

selectTokens_

Array<int> selectTokens_

Methods

__setClose

__setClose(() => void a) -> void

activate

activate() -> void

chord

chord(string s) -> MenuItem
chord() -> string

contentDesired

contentDesired(Size avail) -> Size

enable

enable(bool v) -> MenuItem

enabled

enabled() -> bool

fireSelect

fireSelect() -> void

label

label(string s) -> MenuItem
label() -> string

offSelect

offSelect(int t) -> void

onSelect

onSelect(() => void h) -> int

paintContent

paintContent(Canvas c) -> void