2017-09-12 22:42:36 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2019-04-01 12:33:56 +02:00
|
|
|
<class name="ButtonGroup" inherits="Resource" category="Core" version="3.2">
|
2017-09-12 22:42:36 +02:00
|
|
|
<brief_description>
|
|
|
|
Group of Buttons.
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
Group of [Button]. All direct and indirect children buttons become radios. Only one allows being pressed.
|
2018-02-21 07:53:30 +01:00
|
|
|
[member BaseButton.toggle_mode] should be [code]true[/code].
|
2017-09-12 22:42:36 +02:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2018-12-14 06:39:31 +01:00
|
|
|
<method name="get_buttons">
|
|
|
|
<return type="Array">
|
|
|
|
</return>
|
|
|
|
<description>
|
2019-03-29 23:37:35 +01:00
|
|
|
Returns an [Array] of [Button]s who have this as their [ButtonGroup] (see [member BaseButton.group]).
|
2018-12-14 06:39:31 +01:00
|
|
|
</description>
|
|
|
|
</method>
|
2017-09-12 22:42:36 +02:00
|
|
|
<method name="get_pressed_button">
|
|
|
|
<return type="BaseButton">
|
|
|
|
</return>
|
|
|
|
<description>
|
2018-12-14 06:39:31 +01:00
|
|
|
Returns the current pressed button.
|
2017-09-12 22:42:36 +02:00
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<constants>
|
|
|
|
</constants>
|
|
|
|
</class>
|