FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ManagedFileDialogExtensions

    trait · ferroui-dialogs · v0.5.0

    trait ManagedFileDialogExtensions
    

    The managed dialogs extension of the application builder: replaces the file pickers of the platform with the managed file chooser.

    View source

    Members

    use_managed_system_dialogs

    fn use_managed_system_dialogs(self: &Self) -> AppBuilder
    

    Uses the managed file chooser for the file and folder pickers of every top level, shown in a window (or in a popup over the content of a top level that is not a window).

    Source

    use_managed_system_dialogs_with

    fn use_managed_system_dialogs_with<TWindow: DefaultConstructible + Upcast<Window>>(self: &Self) -> AppBuilder
    

    Uses the managed file chooser for the file and folder pickers of every top level, shown in a new TWindow.

    The bounds state the Window, new() constraints of the original: the window class declares a default constructor (new of ferro_class_info!), which is reached through the class.

    Source

    Trait implementations

    Availability

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