Skip to main content

file_pick

Function file_pick 

Source
pub fn file_pick(title: &str, filters: &str, multiple: bool) -> Vec<u32>
Expand description

Open the native file picker and return the selected file handles.

filters is a comma-separated list of extensions (e.g. "png,jpg,gif"); pass "" to allow any file. Set multiple = true for multi-select. Returns an empty Vec if the user cancels.