forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_buttongroup
reduz edited this page Feb 23, 2014
·
9 revisions
####Inherits: Control ####Category: Core
Group of Buttons.
- BaseButton get_pressed_button ( ) const
- int get_pressed_button_index ( ) const
- BaseButton get_focused_button ( ) const
- Array get_button_list ( ) const
- void set_pressed_button ( BaseButton button )
Group of Buttons. All direct and indirect children buttons become radios. Only one allows being pressed.
- BaseButton get_pressed_button ( ) const
Return the pressed button.
- int get_pressed_button_index ( ) const
Return the index of the pressed button (by tree order).
- BaseButton get_focused_button ( ) const
Return the focused button.
- Array get_button_list ( ) const
Return the list of all the buttons in the group.
- void set_pressed_button ( BaseButton button )
Set the button to be pressed.