SelectInputWidget

A widget of select input.

Constructors

this
this()

Members

Classes

CustomPopupMenuWidget
class CustomPopupMenuWidget
Undocumented in source.

Functions

addItem
void addItem(MenuItemWidget i)

Adds an itme.

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

Opens select menu.

removeAllItems
void removeAllItems()

Removes all items.

removeItem
void removeItem(MenuItemWidget i)

Removes an item.

select
void select(MenuItemWidget s)

Changes selection.

Properties

children
Widget[] children [@property getter]
cursor
const(Cursor) cursor [@property getter]
focusable
bool focusable [@property getter]
trackable
bool trackable [@property getter]

Variables

_menu
CustomPopupMenuWidget _menu;
Undocumented in source.
_selected
Widget _selected;
Undocumented in source.

Inherited Members

From PanelWidget

_children
Widget[] _children;
Undocumented in source.
children
Widget[] children [@property getter]
addChild
Widget addChild(Widget child)

Adds the child.

swapChild
void swapChild(Widget c1, Widget c2)

Swaps the children.

removeAllChildren
void removeAllChildren()

Removes all children.

removeChild
void removeChild(Widget child)

Removes the child.

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

Meta