moby
class Menu
since 0.1.0-alpha.1linux
Constructors
new
new()Fields
focusIndex_
int focusIndex_group_
int group_label
string labelmenuX_
menuY_
positioned_
bool positioned_Methods
__mobyChildren
__mobyChildren() -> Array<IComponent>__mobyContentRect
__mobyContentRect() -> RectactivateFocused
activateFocused() -> voidarrange
arrange(Rect assigned) -> voidcloseAll
closeAll() -> voidcontentDesired
contentRect
contentRect() -> RectfocusFirst
focusFirst() -> voidhandleNav
isSelectable
isSelectable(IComponent c) -> boolitem
item(string text, () => void onSelect) -> Menulabel
label(string s) -> MenumoveHighlight
moveHighlight(int dir) -> voidopenAt
openAt(int x, int y, int group) -> voidpaint
paint(Surface s) -> voidpaintBackground
paintBackground(Surface s) -> voidpaintChrome
paintChrome(Surface s) -> voidseparator
separator() -> MenusetHighlight
setHighlight(int idx) -> voidwireClose
wireClose(IComponent c) -> void