Rename PopupMenu's set/get_current_index() to set/get_focused_item()

This commit is contained in:
Michael Alexsander
2022-09-06 10:51:14 -03:00
parent a49ec435b2
commit 9507e91c07
6 changed files with 14 additions and 14 deletions

View File

@ -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>