diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-06 17:00:58 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-06 17:00:58 +0200 |
commit | 49d18f0725ad9ac92ea058f18a0b2befe39a24d8 (patch) | |
tree | 9977fa45ea869b3839732ea693bc7eabb971699f /doc/classes/PopupMenu.xml | |
parent | adaec8396e3373518044d82c694c6b0d36fce4d5 (diff) | |
parent | 9507e91c073cb6c3002396ae6fa785d382e4dc5e (diff) |
Merge pull request #65423 from YeldhamDev/i_want_to_ride_my_bycicle
Rename `PopupMenu`'s `set/get_current_index()` to `set/get_focused_item()`
Diffstat (limited to 'doc/classes/PopupMenu.xml')
-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> |