EventDispatcher

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(GuiContext context)
Undocumented in source.

Members

Functions

charEntered
bool charEntered(dchar chr)

Handler for char enter event.

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.
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, uint modifiers)

Handler for key press event.

keyReleased
bool keyReleased(KeyCode key, uint 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.

Properties

focusedWidget
Widget focusedWidget [@property getter]

Used to get current focused widget

focusedWidget
Widget focusedWidget [@property setter]

Used to set current focused widget

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.

lastPointerPosition
ivec2 lastPointerPosition [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
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

Static functions

containsPointer
bool containsPointer(Widget widget, ivec2 pointerPosition)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta