A component that provides the necessary properties and function to make a Widget behave like a Button.

See Also

Static Variables

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.

NRG - API 2022.4.384543 - Fri Nov 4 2022
Copyright © 2022 nrgcore.com. All Rights Reserved. Terms of Service - Privacy Policy - EULA