|
libGumball 0.0.1
C23-Based, libGimbal-powered UI Library
|
Go to the source code of this file.
Macros | |
| #define | GUM_Button_create(...) |
Type System | |
Type UUID and cast operators | |
| #define | GUM_BUTTON_TYPE |
| #define | GUM_BUTTON(self) |
| #define | GUM_BUTTON_CLASS(klass) |
| #define | GUM_BUTTON_CLASSOF(self) |
Variables | |
Properties | |
Button properties you can set/get at or after creation.
| |
| GUM_Widget bool | isActive |
| bool | isSelectable |
| bool | isSelectedByDefault |
GUM_Button data structure and hierarchy graph
GUM_Button is a basic button element that can be selected and pressed, firing a signal you can connect a callback to.
| #define GUM_BUTTON_TYPE |
Returns the GUM_Button Type UUID.
| #define GUM_BUTTON | ( | self | ) |
Casts an instance of a compatible element to a GUM_Button.
| #define GUM_BUTTON_CLASS | ( | klass | ) |
Casts an class of a compatible element to a GUM_ButtonClass.
| #define GUM_BUTTON_CLASSOF | ( | self | ) |
Casts an instance of a compatible element to a GUM_ButtonClass.
| GUM_Widget bool isActive |
If this button can be pressed.
Default value is true
| bool isSelectable |
If this button can be selected.
Default value is true
| bool isSelectedByDefault |
If this button should be selected by default when the cursor doesn't have a button selected.
Default value is false