FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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).

    View source

    Members

    new

    fn new() -> Self
    

    Source

    allow_directory_selection

    fn allow_directory_selection(self: &Self) -> bool
    

    Source

    set_allow_directory_selection

    fn set_allow_directory_selection(self: &mut Self, value: bool)
    

    Source

    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.

    Source

    set_custom_volume_info_provider

    fn set_custom_volume_info_provider(self: &mut Self, value: Option<Rc<dyn IMountedVolumeInfoProvider>>)
    

    Source

    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).

    Source

    set_content_root_factory

    fn set_content_root_factory(self: &mut Self, value: Option<Rc<dyn Fn() -> Ref<ContentControl>>>)
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Default
    • PartialEq

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.