ButtonSubMenu ​
Inherits: MarginContainer
A button of the settings menu that opens one of its sub menus (display, audio, controls ...): its text, with colors for the normal, the highlighted and the active state. button_up is emitted when it is pressed.
Properties ​
String | button_text | |
Color | text_normal_color | |
Color | brackets_active_color | |
Color | text_highlight_color | |
Color | active_colour_highlight |
Variables ​
bool | active | false |
Signals ​
button_up( button: MarginContainer ) ​
Emitted when the button is released.
Property descriptions ​
String button_text ​
The text of the button.
Color text_normal_color ​
The color of the text.
Color brackets_active_color ​
The color of the brackets around the text when it is the one open.
Color text_highlight_color ​
The color of the text under the mouse.
Color active_colour_highlight ​
The color of the button when it is the one open.
Variable descriptions ​
bool active = false ​
True when this is the sub menu that is open.