Enhancements and fixes for OptionButton and PopupMenu

This commit is contained in:
Michael Alexsander 2022-02-05 23:47:00 -03:00
parent 9d1626b4d7
commit 21bf23d966
4 changed files with 64 additions and 40 deletions

View file

@ -331,6 +331,13 @@
[b]Note:[/b] The indices of items after the removed item will be shifted by one.
</description>
</method>
<method name="scroll_to_item">
<return type="void" />
<argument index="0" name="index" type="int" />
<description>
Moves the scroll view to make the item at the given [code]index[/code] visible.
</description>
</method>
<method name="set_current_index">
<return type="void" />
<argument index="0" name="index" type="int" />