summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-08 14:04:28 +0100
committerGitHub <noreply@github.com>2022-02-08 14:04:28 +0100
commitb6ddf4a62931e4154fac5b31bca60fe8f48cd7ff (patch)
tree8aa42e9bff28b4bfeacb7d3c36c2d7ec216cd865 /doc/classes
parente26598b4a1b6bc4e5fa9eb4c9413b0d4aff6129d (diff)
parent21bf23d9660337473c98fdb1952def6d5f9847c6 (diff)
Merge pull request #57692 from YeldhamDev/popping_options
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/PopupMenu.xml7
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" />