prelude
module · ferroui · v0.5.0
module prelude
The types of a minimal application, for a glob import
(use ferroui::prelude::*).
- The declaration of an application class: the macros
ferro_class!andferro_impl_classes!,instantiate,Ref, the traitsFerroObjectImpl,ApplicationImpl,ApplicationImplExtandNewApplication, andApplicationitself. - Starting it:
AppBuilder, and with the featuredesktopthe trait that gives ituse_platform_detect(AppBuilderDesktopExtensions). - The window and the common controls and panels:
Window,Control,Border,Button,CheckBox,TextBlock,TextBox,StackPanel,Grid. - The values a layout is written with:
Thickness,CornerRadius,HorizontalAlignment,VerticalAlignment,OrientationandColor. - The theme of the features that are on:
FluentTheme(fluent),SimpleTheme(simple),WinUITheme(winui-theme), andMaterialThemewith bundled fonts (material-theme).
Everything else is reached through the modules of the crate
(crate::base, crate::controls, ...).
Contents
HorizontalAlignment— useOrientation— useVerticalAlignment— useColor— useferro_class— useferro_impl_classes— useinstantiate— useCornerRadius— useRef— useThickness— useAppBuilder— useApplication— useApplicationImplExt— useBorder— useButton— useCheckBox— useControl— useGrid— useNewApplication— useStackPanel— useTextBlock— useTextBox— useWindow— useAppBuilderDesktopExtensions— useFluentTheme— useSimpleTheme— useWinUITheme— useMacOSTheme— useMaterialTheme— useMaterialAppBuilderExtension— use
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.