1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00

Expose ButtonGroup's "get_buttons()" to GDScript

This commit is contained in:
Michael Alexsander Silva Dias
2018-12-14 03:39:31 -02:00
parent 01fa0673a4
commit c2fe5c0468
3 changed files with 20 additions and 1 deletions

View File

@@ -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>