file_ux__open_file_dialog

Function file_ux__open_file_dialog 

Source
pub unsafe extern "C" fn file_ux__open_file_dialog(
    file_type_filter_ptr: *const u8,
    file_type_filter_len: u32,
    __ark_byte_size: *mut u32,
)
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.