mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
a7ac8ec876
Follow-up to #31925, `<member />` tags just before `</members>` would cause a parsing issue, and we'd never notice that we're no longer parsing members. Also added space before closing `/>`.
34 lines
1021 B
XML
34 lines
1021 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="ButtonGroup" inherits="Resource" category="Core" version="3.2">
|
|
<brief_description>
|
|
Group of Buttons.
|
|
</brief_description>
|
|
<description>
|
|
Group of [Button]. All direct and indirect children buttons become radios. Only one allows being pressed.
|
|
[member BaseButton.toggle_mode] should be [code]true[/code].
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_buttons">
|
|
<return type="Array">
|
|
</return>
|
|
<description>
|
|
Returns an [Array] of [Button]s who have this as their [ButtonGroup] (see [member BaseButton.group]).
|
|
</description>
|
|
</method>
|
|
<method name="get_pressed_button">
|
|
<return type="BaseButton">
|
|
</return>
|
|
<description>
|
|
Returns the current pressed button.
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene" override="true" default="true" />
|
|
</members>
|
|
<constants>
|
|
</constants>
|
|
</class>
|