pub fn open_file_dialog(file_type_filter: &str) -> Vec<u8> ⓘExpand description
Lets the user read raw data from a file, popping up an Open file dialog.
file_type_filter can be used to filter file types. To query for PNG files, specify “*.png”, for example. Multiple filters are not yet supported.
Returns an empty vector if the user cancelled the open file dialog.