[−][src]Module orbtk_api::event
This module contains all resources to call and handle events.
Structs
ActivateEvent | |
ActivateEventHandler | |
ChangedEvent | This event occurs when a property of a widget is updated. |
ChangedEventHandler | |
ClickEvent |
|
ClickEventHandler | Used to handle click events. Could be attached to a widget. |
EventBox | Internal wrapper for an event, including the strategy and source entity. |
EventQueue | The |
EventQueueIterator | |
FocusEventHandler | |
GlobalMouseUpEvent |
|
GlobalMouseUpEventHandler | Defines an event handler for a global mouse up event. Global mouse up events could not be handled. |
KeyDownEvent | |
KeyDownEventHandler | Used to handle key down events. Could be attached to a widget. |
KeyUpEvent | |
Mouse | Represents the current mouse state of an mouse event. |
MouseDownEvent |
|
MouseDownEventHandler | Used to handle mouse down events. Could be attached to a widget. |
MouseMoveEvent |
|
MouseMoveEventHandler | Used to handle mouse down events. Could be attached to a widget. |
MouseUpEvent |
|
MouseUpEventHandler | Used to handle mouse down events. Could be attached to a widget. |
ScrollEvent |
|
ScrollEventHandler | Used to handle scroll events. Could be attached to a widget. |
SelectionChangedEvent | |
SelectionChangedEventHandler | |
WindowEventHandler |
Enums
EventError | |
EventStrategy | Defines the strategy of an event how it moves through the tree. |
FocusEvent | Used to request keyboard focus on the window. |
SystemEvent | |
WindowEvent |
Traits
ActivateHandler | |
ChangedHandler | |
Event | Used to define an event. |
EventHandler | This trait is used to define an event handler. |
KeyDownHandler | |
MouseHandler | |
SelectionChangedHandler |
Functions
check_mouse_condition | Checks if the given point is inside of a widget. |
Type Definitions
ChangedHandlerFn | Used to define a property changed callback. |
EventHandlerMap | |
FocusHandlerFn | |
GlobalMouseHandlerFunction | Defines the global bouse handler function. |
KeyHandler | |
MouseHandlerFunction | Defines the mouse handler function. |
PositionHandlerFunction | |
TriggerHandler |