summaryrefslogtreecommitdiff
path: root/doc/classes/ButtonGroup.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/ButtonGroup.xml')
-rw-r--r--doc/classes/ButtonGroup.xml16
1 files changed, 11 insertions, 5 deletions
diff --git a/doc/classes/ButtonGroup.xml b/doc/classes/ButtonGroup.xml
index b7f3234b36..302a213836 100644
--- a/doc/classes/ButtonGroup.xml
+++ b/doc/classes/ButtonGroup.xml
@@ -11,15 +11,13 @@
</tutorials>
<methods>
<method name="get_buttons">
- <return type="Array">
- </return>
+ <return type="Array" />
<description>
- Returns an [Array] of [Button]s who have this as their [ButtonGroup] (see [member BaseButton.group]).
+ Returns an [Array] of [Button]s who have this as their [ButtonGroup] (see [member BaseButton.button_group]).
</description>
</method>
<method name="get_pressed_button">
- <return type="BaseButton">
- </return>
+ <return type="BaseButton" />
<description>
Returns the current pressed button.
</description>
@@ -28,6 +26,14 @@
<members>
<member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene" override="true" default="true" />
</members>
+ <signals>
+ <signal name="pressed">
+ <argument index="0" name="button" type="Object" />
+ <description>
+ Emitted when one of the buttons of the group is pressed.
+ </description>
+ </signal>
+ </signals>
<constants>
</constants>
</class>