summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-12-14 03:39:31 -0200
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-12-14 04:16:23 -0200
commitc2fe5c04684105fdfedbc6679f17acec12b3382c (patch)
tree43f31ecc423d853416fc4ad431752acf0236f8e6 /doc
parent01fa0673a4165d3245d6b22e99b0e4ea99d19c5b (diff)
Expose ButtonGroup's "get_buttons()" to GDScript
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/ButtonGroup.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/classes/ButtonGroup.xml b/doc/classes/ButtonGroup.xml
index 0f5ea8e6bf..6273c8f83f 100644
--- a/doc/classes/ButtonGroup.xml
+++ b/doc/classes/ButtonGroup.xml
@@ -12,11 +12,18 @@
<demos>
</demos>
<methods>
+ <method name="get_buttons">
+ <return type="Array">
+ </return>
+ <description>
+ Returns an [Array] of [Button]s who have this as their [code]ButtonGroup[/code] (see [member BaseButton.group]).
+ </description>
+ </method>
<method name="get_pressed_button">
<return type="BaseButton">
</return>
<description>
- Return the pressed button.
+ Returns the current pressed button.
</description>
</method>
</methods>