InfoBarTemplateSettings
struct · ferroui-controls · v0.5.0
struct InfoBarTemplateSettings
The values the template of an InfoBar binds to: the icon element created
from its IconSource (TemplateSettings.IconElement, the child of the UserIconBox of the
template). Each bar has its own.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<InfoBarTemplateSettings>
Returns a strong reference to this object.
icon_element_property
fn icon_element_property() -> &'static StyledProperty<Option<Ref<IconElement>>>
Defines the IconElement property: the icon element of the icon source of the bar.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates the settings of a bar.
icon_element
fn icon_element(self: &Self) -> Option<Ref<IconElement>>
Gets the icon element of the icon source of the bar.
set_icon_element
fn set_icon_element(self: &Self, value: Option<Ref<IconElement>>)
Sets the icon element of the icon source of the bar.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<InfoBarTemplateSettings>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.