diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-03 17:15:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 17:15:06 +0100 |
commit | 5e39a8eded8e3eba84ab9c74d31ba4aca6a235d2 (patch) | |
tree | 92ecb6b01b56eb6f8cc4bf7b3814bd2bd729fe12 /doc | |
parent | 3004415bfc1cf53879729a3c5dd4185c51496973 (diff) | |
parent | 73c225838fa2e6f3ca3adf328375d1c659dc261b (diff) |
Merge pull request #56992 from YeldhamDev/smarter_popmenu_focus
Diffstat (limited to 'doc')
-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 108c674ef7..eb1b0aada7 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="set_current_index"> + <return type="void" /> + <argument index="0" name="index" type="int" /> + <description> + Sets the currently focused item as the given [code]index[/code]. + </description> + </method> <method name="set_item_accelerator"> <return type="void" /> <argument index="0" name="index" type="int" /> |