[][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

ClickEvent occurs when a user clicked on an element.

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 EventQueue is used to register and read new events.

EventQueueIterator
FocusEventHandler
GlobalMouseUpEvent

GlobalMouseUpEvent occurs when a mouse button is released.

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

MouseDownEvent occurs when a mouse button is pressed.

MouseDownEventHandler

Used to handle mouse down events. Could be attached to a widget.

MouseMoveEvent

MouseMoveEvent indicates if the mouse position is changed on the window.

MouseMoveEventHandler

Used to handle mouse down events. Could be attached to a widget.

MouseUpEvent

MouseUpEvent occurs when a mouse button is released.

MouseUpEventHandler

Used to handle mouse down events. Could be attached to a widget.

ScrollEvent

ScrollEvent occurs when the mouse wheel is moved.

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