InfoBarProps
trait · ferroui-view · v0.5.0
trait InfoBarProps: ElementBuilder
The properties and routed events of InfoBar.
Members
is_opentitlemessageseverityicon_sourceis_icon_visibleis_closableclose_button_styleclose_button_commandclose_button_command_parameteraction_button
is_open
fn is_open<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets InfoBar::is_open_property.
title
fn title<M>(self: Self, value: impl IntoProp<String, M>) -> Self
Sets InfoBar::title_property.
message
fn message<M>(self: Self, value: impl IntoProp<String, M>) -> Self
Sets InfoBar::message_property.
severity
fn severity<M>(self: Self, value: impl IntoProp<ferroui_controls::InfoBarSeverity, M>) -> Self
Sets InfoBar::severity_property.
icon_source
fn icon_source<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::IconSource>>, M>) -> Self
Sets InfoBar::icon_source_property.
is_icon_visible
fn is_icon_visible<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets InfoBar::is_icon_visible_property.
is_closable
fn is_closable<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
Sets InfoBar::is_closable_property.
close_button_style
fn close_button_style<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self
Sets InfoBar::close_button_style_property.
close_button_command
fn close_button_command<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self
Sets InfoBar::close_button_command_property.
close_button_command_parameter
fn close_button_command_parameter<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
Sets InfoBar::close_button_command_parameter_property.
action_button
fn action_button<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Button>>, M>) -> Self
Sets InfoBar::action_button_property.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.