diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2022-02-05 23:47:00 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2022-02-06 16:03:18 -0300 |
commit | 21bf23d9660337473c98fdb1952def6d5f9847c6 (patch) | |
tree | 54d49c3c8b77b27c2146907d0f01c652abc2b2f6 /doc/classes | |
parent | 9d1626b4d7a867b4778845dd12519c603f0cf88f (diff) |
Enhancements and fixes for `OptionButton` and `PopupMenu`
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/PopupMenu.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml index eb1b0aada7..b316f822f0 100644 --- a/doc/classes/PopupMenu.xml +++ b/doc/classes/PopupMenu.xml @@ -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" /> |