Lysa UI  0.0
Lysa UI —UI components for the Lysa Engine
UIEvent Struct Reference

Detailed Description

List of widget event signals.

+ Inheritance diagram for UIEvent:

Static Public Attributes

static const std::string OnCreate {"on_create"}
 Called after widget creation (all widgets) More...
 
static const std::string OnDestroy {"on_destroy"}
 Called before widget destruction (all widgets) More...
 
static const std::string OnKeyDown {"on_key_down"}
 Called when the user presses a key & the widget has the keyboard focus (all widgets) More...
 
static const std::string OnKeyUp {"on_key_up"}
 Called when the user releases a key & the widget has the keyboard focus (all widgets) More...
 
static const std::string OnMouseDown {"on_mouse_down"}
 The mouse button has been pressed above the widget or a child (all widgets) More...
 
static const std::string OnMouseUp {"on_mouse_up"}
 The mouse button has been released above the widget or a child (all widgets) More...
 
static const std::string OnMouseMove {"on_mouse_move"}
 The mouse has been moved above the widget (all widgets) More...
 
static const std::string OnGotFocus {"on_got_focus"}
 Widget acquires keyboard focus (all widgets) More...
 
static const std::string OnLostFocus {"on_lost_focus"}
 Widget lost keyboard focus (all widgets) More...
 
static const std::string OnShow {"on_show"}
 Called after visibility change to visible (all widgets) More...
 
static const std::string OnHide {"on_hide"}
 Called after visibility change to hidden (all widgets) More...
 
static const std::string OnEnable {"on_enable"}
 Called after state change to enabled (all widgets) More...
 
static const std::string OnDisable {"on_disable"}
 Called after state change to disabled (all widgets) More...
 
static const std::string OnTextChange {"on_text_change"}
 Text content of the widget has changed. More...
 
static const std::string OnTextInput {"on_text_input"}
 Text content from the user. More...
 
static const std::string OnClick {"on_click"}
 Called when the user clicks on the widget (buttons) More...
 
static const std::string OnStateChange {"on_state_change"}
 A CheckWidget state changed. More...
 
static const std::string OnValueChange {"on_value_change"}
 Value of a ValueSelect widget changed. More...
 
static const std::string OnRangeChange {"on_range_change"}
 Range of a ValueSelect widget changed. More...
 
static const std::string OnResize {"on_resize"}
 A Window size changed. More...
 
static const std::string OnMove {"on_move"}
 A Window position changed. More...
 

Member Data Documentation

const event_type OnClick {"on_click"}
static

Called when the user clicks on the widget (buttons)

const event_type OnCreate {"on_create"}
static

Called after widget creation (all widgets)

const event_type OnDestroy {"on_destroy"}
static

Called before widget destruction (all widgets)

const event_type OnDisable {"on_disable"}
static

Called after state change to disabled (all widgets)

const event_type OnEnable {"on_enable"}
static

Called after state change to enabled (all widgets)

const event_type OnGotFocus {"on_got_focus"}
static

Widget acquires keyboard focus (all widgets)

const event_type OnHide {"on_hide"}
static

Called after visibility change to hidden (all widgets)

const event_type OnKeyDown {"on_key_down"}
static

Called when the user presses a key & the widget has the keyboard focus (all widgets)

const event_type OnKeyUp {"on_key_up"}
static

Called when the user releases a key & the widget has the keyboard focus (all widgets)

const event_type OnLostFocus {"on_lost_focus"}
static

Widget lost keyboard focus (all widgets)

const event_type OnMouseDown {"on_mouse_down"}
static

The mouse button has been pressed above the widget or a child (all widgets)

const event_type OnMouseMove {"on_mouse_move"}
static

The mouse has been moved above the widget (all widgets)

const event_type OnMouseUp {"on_mouse_up"}
static

The mouse button has been released above the widget or a child (all widgets)

const event_type OnMove {"on_move"}
static

A Window position changed.

const event_type OnRangeChange {"on_range_change"}
static

Range of a ValueSelect widget changed.

const event_type OnResize {"on_resize"}
static

A Window size changed.

const event_type OnShow {"on_show"}
static

Called after visibility change to visible (all widgets)

const event_type OnStateChange {"on_state_change"}
static

A CheckWidget state changed.

const event_type OnTextChange {"on_text_change"}
static

Text content of the widget has changed.

const event_type OnTextInput {"on_text_input"}
static

Text content from the user.

const event_type OnValueChange {"on_value_change"}
static

Value of a ValueSelect widget changed.