ButtonGroup

Inherits: BoxContainer < Container < Control < CanvasItem < Node < Object

Category: Core

Brief Description

Group of Buttons.

Description

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

Member Function Description

  • Array get_button_list ( ) const

Return the list of all the buttons in the group.

Return the focused button.

Return the pressed button.

  • int get_pressed_button_index ( ) const

Return the index of the pressed button (by tree order).

Set the button to be pressed.