pub trait ManagedFileDialogExtensions {
// Required methods
fn use_managed_system_dialogs(&self) -> AppBuilder;
fn use_managed_system_dialogs_with<TWindow: ObjectType + Upcast<Window>>(
&self,
) -> AppBuilder;
}Expand description
The managed dialogs extension of the application builder: replaces the file pickers of the platform with the managed file chooser.
Required Methods§
Sourcefn use_managed_system_dialogs(&self) -> AppBuilder
fn use_managed_system_dialogs(&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).
Sourcefn use_managed_system_dialogs_with<TWindow: ObjectType + Upcast<Window>>(
&self,
) -> AppBuilder
fn use_managed_system_dialogs_with<TWindow: ObjectType + Upcast<Window>>( &self, ) -> AppBuilder
Uses the managed file chooser for the file and folder pickers of
every top level, shown in a new TWindow.
The class model states the Window constraint of the original; its
new() constraint is checked when the extension is used.
§Panics
Panics when TWindow has no parameterless constructor.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".