TGUI  0.9-dev
tgui::Signals::Button Struct Reference
Inheritance diagram for tgui::Signals::Button:
tgui::Signals::ClickableWidget tgui::Signals::Widget

Static Public Attributes

static constexpr const char *const Pressed = "Pressed"
 The button was pressed. Optional parameter: text of the button.
 
- Static Public Attributes inherited from tgui::Signals::ClickableWidget
static constexpr const char *const MousePressed = "MousePressed"
 The mouse went down on the widget. Optional parameter: mouse position relative to widget.
 
static constexpr const char *const MouseReleased = "MouseReleased"
 The mouse was released on top of the widget. Optional parameter: mouse position relative to widget.
 
static constexpr const char *const Clicked = "Clicked"
 The widget was clicked. Optional parameter: mouse position relative to widget.
 
static constexpr const char *const RightMousePressed = "RightMousePressed"
 The right mouse button went down on the widget. Optional parameter: mouse position relative to widget.
 
static constexpr const char *const RightMouseReleased = "RightMouseReleased"
 The right mouse button was released on top of the widget. Optional parameter: mouse position relative to widget.
 
static constexpr const char *const RightClicked = "RightClicked"
 The widget was right clicked. Optional parameter: mouse position relative to widget.
 
- Static Public Attributes inherited from tgui::Signals::Widget
static constexpr const char *const PositionChanged = "PositionChanged"
 The position of the widget changed. Optional parameter: new position.
 
static constexpr const char *const SizeChanged = "SizeChanged"
 The size of the widget changed. Optional parameter: new size.
 
static constexpr const char *const Focused = "Focused"
 The widget was focused.
 
static constexpr const char *const Unfocused = "Unfocused"
 The widget was unfocused.
 
static constexpr const char *const MouseEntered = "MouseEntered"
 The mouse entered the widget.
 
static constexpr const char *const MouseLeft = "MouseLeft"
 The mouse left the widget.
 
static constexpr const char *const AnimationFinished = "AnimationFinished"
 A show or hide animation finished. Optional parameters: animation type, new widget visibility or both.
 

The documentation for this struct was generated from the following file: