MenuItemWidget

A widget of menu item.

Constructors

this
this()

Members

Functions

handleMouseButton
bool handleMouseButton(MouseButton btn, bool status, vec2 pos)

Variables

_parentMenu
PopupMenuWidget _parentMenu;
Undocumented in source.
onPress
PressHandler onPress;

Inherited Members

From WrapperWidget

_child
Widget _child;
Undocumented in source.
children
Widget[] children [@property getter]
child
T child [@property getter]

Child widget that is wrapped.

setChild
Widget setChild(Widget child)

Changes the child widget.

removeChild
void removeChild()

Removes the child widget.

DisableModifyChild
template DisableModifyChild()
Undocumented in source.
trackable
bool trackable [@property getter]
focusable
bool focusable [@property getter]

Meta