ManagedFileDialogOptions
struct · ferroui-dialogs · v0.5.0
struct ManagedFileDialogOptions
The options of the managed file dialogs.
A record: a copy with a member changed is made with Clone and the
setter (the with expression of the original).
Members
newallow_directory_selectionset_allow_directory_selectioncustom_volume_info_providerset_custom_volume_info_providercontent_root_factoryset_content_root_factory
new
fn new() -> Self
allow_directory_selection
fn allow_directory_selection(self: &Self) -> bool
set_allow_directory_selection
fn set_allow_directory_selection(self: &mut Self, value: bool)
custom_volume_info_provider
fn custom_volume_info_provider(self: &Self) -> Option<&Rc<dyn IMountedVolumeInfoProvider>>
Allows to redefine how root volumes are populated in the dialog.
set_custom_volume_info_provider
fn set_custom_volume_info_provider(self: &mut Self, value: Option<Rc<dyn IMountedVolumeInfoProvider>>)
content_root_factory
fn content_root_factory(self: &Self) -> Option<&Rc<dyn Fn() -> Ref<ContentControl>>>
Allows to redefine content root. Can be a custom Window or any ContentControl (Popup hosted).
set_content_root_factory
fn set_content_root_factory(self: &mut Self, value: Option<Rc<dyn Fn() -> Ref<ContentControl>>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDefaultPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.