ButtonGroup

Inherits: Resource < RefCounted < Object

Group of Buttons.

Description

Group of Button. All direct and indirect children buttons become radios. Only one allows being pressed.

BaseButton.toggle_mode should be true.

Properties

bool

resource_local_to_scene

true (overrides Resource)

Methods

BaseButton[]

get_buttons ( )

BaseButton

get_pressed_button ( )

Signals

Emitted when one of the buttons of the group is pressed.

Method Descriptions

Returns an Array of Buttons who have this as their ButtonGroup (see BaseButton.button_group).


Returns the current pressed button.