gui2.event
Base class for all events.
- class Event;
Base class for all events.
Propagated recursively through the widget tree. Widgets can register handler functions to react to events (e.g. rendering, user input, layout resizing, etc.).
- class MinimizeEvent: gui2.event.Event;
Used when widgets need to be resized. Passed before ExpandEvent.
An example is when a RootWidget is connected to a SlotWidget - all widgets in the RootWidget's subtree need to be resized.
- class ExpandEvent: gui2.event.Event;
Used when widgets need to be resized. Passed after MinimizeEvent.
Handled when sinking, passing the parent widget for the children to expand into.
SeeAlso:
MinimizeEvent- class RenderEvent: gui2.event.Event;
Used to draw the widgets.
- class MouseKeyEvent: gui2.event.Event;
Low level mouse key event. Usually not handled by widgets directly.
- class MouseMoveEvent: gui2.event.Event;
Mouse movement event.
- class KeyboardEvent: gui2.event.Event;
Low level keyboard key event. Usually not handled by widgets directly.