Skip to content

How to intercept the extension of file selection #3

Closed Answered by Barugon
yk0n9 asked this question in Q&A
Discussion options

You must be logged in to vote

You can have it only show files with a specific extension by calling filter.

Example:

    let mut file_dlg = egui_file::FileDialog::open_file(None).filter("txt".into());

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by yk0n9
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants