diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2022-09-06 10:51:14 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2022-09-06 10:51:14 -0300 |
commit | 9507e91c073cb6c3002396ae6fa785d382e4dc5e (patch) | |
tree | ed15997a93022cdc3c3bc7b88cf18064af400f4a /doc | |
parent | a49ec435b261beef3cb0641a03dad9f622592574 (diff) |
Rename `PopupMenu`'s `set/get_current_index()` to `set/get_focused_item()`
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/PopupMenu.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/PopupMenu.xml b/doc/classes/PopupMenu.xml index 00b725d5d7..23287f4de1 100644 --- a/doc/classes/PopupMenu.xml +++ b/doc/classes/PopupMenu.xml @@ -182,7 +182,7 @@ Removes all items from the [PopupMenu]. </description> </method> - <method name="get_current_index" qualifiers="const"> + <method name="get_focused_item" qualifiers="const"> <return type="int" /> <description> Returns the index of the currently focused item. Returns [code]-1[/code] if no item is focused. @@ -332,7 +332,7 @@ Moves the scroll view to make the item at the given [param index] visible. </description> </method> - <method name="set_current_index"> + <method name="set_focused_item"> <return type="void" /> <param index="0" name="index" type="int" /> <description> |