- addRoot
void addRoot(Widget root)
Undocumented in source. Be warned that the author may not have intended to support it.
- charEntered
bool charEntered(dchar chr)
Handler for char enter event.
- createBaseWidget
Widget createBaseWidget(string type)
Undocumented in source. Be warned that the author may not have intended to support it.
- createSubwidget
Widget createSubwidget(SubwidgetTemplate sub, Widget subwidget, Widget root)
Undocumented in source. Be warned that the author may not have intended to support it.
- createWidget
Widget createWidget(string type, Widget parent)
Undocumented in source. Be warned that the author may not have intended to support it.
- doLayout
void doLayout()
Undocumented in source. Be warned that the author may not have intended to support it.
- draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
- getWidgetById
Widget getWidgetById(string id)
Returns widget found by given id.
- invalidateWidgetLayout
void invalidateWidgetLayout(Widget container)
Undocumented in source. Be warned that the author may not have intended to support it.
- keyPressed
bool keyPressed(KeyCode key, KeyModifiers modifiers)
Handler for key press event.
- keyReleased
bool keyReleased(KeyCode key, KeyModifiers modifiers)
Handler for key release event.
- pointerMoved
bool pointerMoved(ivec2 newPointerPosition, ivec2 delta)
Handler for pointer move event.
- pointerPressed
bool pointerPressed(ivec2 pointerPosition, PointerButton button)
Handler for pointer press event.
- pointerReleased
bool pointerReleased(ivec2 pointerPosition, PointerButton button)
Handler for pointer release event.
- update
void update(double deltaTime)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateHovered
bool updateHovered(PointerMoveEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
- clipboardString
string clipboardString [@property getter]
Used to get current clipboard string
- clipboardString
string clipboardString [@property setter]
Used to set current clipboard string
- focusedWidget
Widget focusedWidget [@property getter]
Used to get current focused widget
- focusedWidget
Widget focusedWidget [@property setter]
Used to set current focused widget
- getClipboardStringCallback
dstring delegate() getClipboardStringCallback [@property setter]
Will be used by window to provide clipboard functionality.
- guiRenderer
IGuiRenderer guiRenderer [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- hoveredWidget
Widget hoveredWidget [@property getter]
Used to get current hovered widget.
- hoveredWidget
Widget hoveredWidget [@property setter]
Used to set current hovered widget.
- inputOwnerWidget
Widget inputOwnerWidget [@property getter]
Used to get current focused input owner widget
- inputOwnerWidget
Widget inputOwnerWidget [@property setter]
Used to set current focused input owner widget
- lastClickedWidget
Widget lastClickedWidget [@property getter]
Used to get last clicked widget.
- lastClickedWidget
Widget lastClickedWidget [@property setter]
Used to set last clicked widget.
- pressedWidget
Widget pressedWidget [@property getter]
Used to get current focused input owner widget
- pressedWidget
Widget pressedWidget [@property setter]
Used to set current focused input owner widget
- setClipboardStringCallback
void delegate(dstring) setClipboardStringCallback [@property setter]
Will be used by window to provide clipboard functionality.
- size
ivec2 size [@property setter]
Sets new size for all root widgets.
- timerManager
TimerManager timerManager [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.