A component that provides the necessary properties and function to make a Widget behave like a Button.
See Also
| Name | Description |
|---|---|
widget | Reference to the base Widget where the Button component is maintained. |
| Name | Description |
|---|---|
group | Index of the group the active Button belongs to. |
pressed | Boolean value that represent if the Button is pressed or not. |
| Name | Description |
|---|---|
SetState | Set the state of the active Button. |
Available type of Button that can be used to dictate its behavior.
kNormal: Regular push down, come back up Button.kToggle: Push down, stay down, push again, comes back up.kRadio: Circular radio Button that works in a group.kOption: Similar as kToggle but work in a group like kRadio.kItem: The Button state is managed by the user.
|
|