[−][src]Module kas::event
Event handling
Event handling uses event messages, passed from the parent into a widget, with responses passed back to the parent. This model is simpler than that commonly used by GUI frameworks: widgets do not need a pointer to their parent and any result is pushed back up the call stack. The model allows type-safety while allowing user-defined result types.
Structs
NoResponse | No message |
Enums
Action | Input actions: these are high-level messages aimed at specific widgets. |
GuiResponse | General GUI event responses |
Traits
Handler | Event-handling aspect of a widget. |
Functions
err_num | Notify of an incorrect widget number. |
err_unhandled | Mark explicitly ignored events. |