TGUI  0.8.6
tgui::Signals::MenuBar Struct Reference
Inheritance diagram for tgui::Signals::MenuBar:
tgui::Signals::Widget

Static Public Attributes

static constexpr const char *const MenuItemClicked = "MenuItemClicked"
 
- 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.
 

Member Data Documentation

◆ MenuItemClicked

constexpr const char* const tgui::Signals::MenuBar::MenuItemClicked = "MenuItemClicked"
staticconstexpr

One of the menu items was clicked. Optional parameters:

  • The text of the clicked menu item
  • List containing both the name of the menu and the menu item that was clicked

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