1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Rework FileDialog shortcuts

This commit is contained in:
kobewi
2025-10-09 22:31:55 +02:00
parent 295e465fe4
commit 263a2bdec6
6 changed files with 97 additions and 63 deletions

View File

@@ -1287,6 +1287,21 @@
Default [InputEventAction] to go to the end position of a [Control] (e.g. last item in an [ItemList] or a [Tree]), matching the behavior of [constant KEY_END] on typical desktop UI systems.
[b]Note:[/b] Default [code]ui_*[/code] actions cannot be removed as they are necessary for the internal logic of several [Control]s. The events assigned to the action can however be modified.
</member>
<member name="input/ui_filedialog_delete" type="Dictionary" setter="" getter="">
Default [InputEventAction] to delete the selected file in a [FileDialog].
[b]Note:[/b] Default [code]ui_*[/code] actions cannot be removed as they are necessary for the internal logic of several [Control]s. The events assigned to the action can however be modified.
</member>
<member name="input/ui_filedialog_find" type="Dictionary" setter="" getter="">
Default [InputEventAction] to open file filter in a [FileDialog].
[b]Note:[/b] Default [code]ui_*[/code] actions cannot be removed as they are necessary for the internal logic of several [Control]s. The events assigned to the action can however be modified.
</member>
<member name="input/ui_filedialog_focus_path" type="Dictionary" setter="" getter="">
Default [InputEventAction] to focus path edit field in a [FileDialog].
[b]Note:[/b] Default [code]ui_*[/code] actions cannot be removed as they are necessary for the internal logic of several [Control]s. The events assigned to the action can however be modified.
</member>
<member name="input/ui_filedialog_focus_path.macos" type="Dictionary" setter="" getter="">
macOS specific override for the shortcut to focus path edit field in [FileDialog].
</member>
<member name="input/ui_filedialog_refresh" type="Dictionary" setter="" getter="">
Default [InputEventAction] to refresh the contents of the current directory of a [FileDialog].
[b]Note:[/b] Default [code]ui_*[/code] actions cannot be removed as they are necessary for the internal logic of several [Control]s. The events assigned to the action can however be modified.