ButtonGroup¶
Inherits: Resource < RefCounted < Object
Group of Buttons.
Description¶
Group of BaseButton. The members of this group are treated like radio buttons in the sense that only one button can be pressed at the same time.
Every member of the ButtonGroup should have BaseButton.toggle_mode set to true
.
Properties¶
resource_local_to_scene |
|
Methods¶
get_buttons ( ) |
|
Signals¶
pressed ( BaseButton button )
Emitted when one of the buttons of the group is pressed.
Method Descriptions¶
BaseButton[] get_buttons ( )
Returns an Array of Buttons who have this as their ButtonGroup (see BaseButton.button_group).
BaseButton get_pressed_button ( )
Returns the current pressed button.