Skip to content

Allow pre-selecting file when opening file dialog #287

@crumblingstatue

Description

@crumblingstatue

For example, if you already have foo.txt open, you could set it to be selected when opening the file dialog.
Useful when navigating a large directory with lots of files, to keep track of where you last opened a file.
pseudo-API: file_dialog.set_selected_path("foo.txt").

An alternative, less-flexible API would be to have an option to simply remember the last selected file.
pseudo-API: FileDialog::remember_last_selected(true).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions