Skip to content

Commit c68213f

Browse files
committed
Merge pull request #102350 from IceflowRE/update_add_item_doc
Update OptionButton documentation
2 parents 4042e4d + 2bb581d commit c68213f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/classes/OptionButton.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<param index="2" name="id" type="int" default="-1" />
2020
<description>
2121
Adds an item, with a [param texture] icon, text [param label] and (optionally) [param id]. If no [param id] is passed, the item index will be used as the item's ID. New items are appended at the end.
22+
[b]Note:[/b] The item will be selected if there are no other items.
2223
</description>
2324
</method>
2425
<method name="add_item">
@@ -27,6 +28,7 @@
2728
<param index="1" name="id" type="int" default="-1" />
2829
<description>
2930
Adds an item, with text [param label] and (optionally) [param id]. If no [param id] is passed, the item index will be used as the item's ID. New items are appended at the end.
31+
[b]Note:[/b] The item will be selected if there are no other items.
3032
</description>
3133
</method>
3234
<method name="add_separator">

0 commit comments

Comments
 (0)