ButtonGroup

Inherits: Resource < Reference < Object Group of Buttons.

Description

Button. All direct and indirect children buttons become radios. Only one allows being pressed. BaseButton.toggle_mode should be true.

Properties

Methods

Signals

  • pressed ( Object button ) Emitted when one of the buttons of the group is pressed.

    Method Descriptions

  • Array get_buttons ( ) Array of Buttons who have this as their ButtonGroup (see BaseButton.group).

  • BaseButton get_pressed_button ( ) Returns the current pressed button.