Skip to main content

Crate ferroui_dialogs

Crate ferroui_dialogs 

Source
Expand description

ferroui-dialogs

The managed dialogs: the managed file chooser (ManagedFileChooser over a ManagedFileChooserViewModel), the storage provider that shows it (ManagedStorageProvider), the application builder extension that makes it the file picker of every top level (ManagedFileDialogExtensions::use_managed_system_dialogs) and the about dialog of the framework (AboutFerroDialog).

The control themes of the file chooser are part of the themes (Controls/ManagedFileChooser.xaml of the Fluent and the Simple theme). The document of the about dialog is compiled by the build of the crate (build.rs: the compiled markup populates the dialog, and the loader table of the crate answers a load of the document by its URI); its font is embedded in the crate as an asset of the assembly FerroUI.Dialogs.

ⓘ
AppBuilder::configure::<App>().use_platform_detect().use_managed_system_dialogs()

Modules§

internal
The view models, converters and helpers of the managed dialogs.

Structs§

AboutFerroDialog
The about dialog of the framework: the logo, the version and a link to the project.
ManagedFileChooser
The managed file chooser: the quick links, the entries of the current folder and the controls of the file name, the filters and the buttons, over a ManagedFileChooserViewModel as its data context.
ManagedFileChooserOverwritePrompt
Asks whether to replace an existing file: the content of the flyout the managed storage provider shows when the user saves to a file that exists.
ManagedFileDialogOptions
The options of the managed file dialogs.
ManagedStorageProvider
The storage provider that shows the managed file chooser: in a window, or in a popup over the content of a top level that has no windows.

Statics§

ASSEMBLY
What this crate states about itself for markup: its assembly name. The upstream project maps no XML namespace; its documents name it with using:.

Traits§

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

Functions§

register_types
Registers the namespaces, the types, the assembly, the embedded assets and the compiled markup of this crate (and of the crates it is built on). Cheap and idempotent.