#[repr(C)]pub struct DialogsFileBrowserOptions {
pub extension: *const c_char,
pub base_path: *const c_char,
pub skip_assets: bool,
pub hide_dot_files: bool,
pub icon: *const Icon,
pub hide_ext: bool,
pub item_loader_callback: FileBrowserLoadItemCallback,
pub item_loader_context: *mut c_void,
}Expand description
Re-export bindings File browser dialog extra options
Arguments
extension- file extension to be offered for selectionbase_path- root folder path for navigation with back keyskip_assets- true - do not show assets foldershide_dot_files- true - hide dot filesicon- file icon pointer, NULL for default iconhide_ext- true - hide extensions for filesitem_loader_callback- callback function for providing custom icon & entry namehide_ext- callback context
Fields§
§extension: *const c_char§base_path: *const c_char§skip_assets: bool§hide_dot_files: bool§icon: *const Icon§hide_ext: bool§item_loader_callback: FileBrowserLoadItemCallback§item_loader_context: *mut c_voidTrait Implementations§
source§impl Clone for DialogsFileBrowserOptions
impl Clone for DialogsFileBrowserOptions
source§fn clone(&self) -> DialogsFileBrowserOptions
fn clone(&self) -> DialogsFileBrowserOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more