Skip to content

Commit

Permalink
Update OptionButton documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
IceflowRE committed Feb 3, 2025
1 parent 1586c56 commit 2bb581d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/classes/OptionButton.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<param index="2" name="id" type="int" default="-1" />
<description>
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.
[b]Note:[/b] The item will be selected if there are no other items.
</description>
</method>
<method name="add_item">
Expand All @@ -27,6 +28,7 @@
<param index="1" name="id" type="int" default="-1" />
<description>
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.
[b]Note:[/b] The item will be selected if there are no other items.
</description>
</method>
<method name="add_separator">
Expand Down

0 comments on commit 2bb581d

Please sign in to comment.