Class ButtonGroup
- Namespace
- Forma
- Assembly
- Forma.dll
Maintains Godot-style mutually exclusive toggle buttons.
public sealed class ButtonGroup
- Inheritance
-
ButtonGroup
- Inherited Members
Constructors
ButtonGroup()
public ButtonGroup()
Properties
AllowUnpress
Whether the selected button may be unpressed, leaving no selection.
public bool AllowUnpress { get; set; }
Property Value
Buttons
public IReadOnlyList<BaseButton> Buttons { get; }
Property Value
PressedButton
public BaseButton PressedButton { get; }
Property Value
Events
Pressed
Raised when a member becomes the active button.
public event Action<ButtonGroup, BaseButton> Pressed