InfoBarAutomationPeer
struct · ferroui-controls · v0.5.0
struct InfoBarAutomationPeer
The automation peer of an InfoBar: a status bar, as in WinUI.
WinUI raises UI Automation notifications when the bar opens and closes
(RaiseNotificationEvent with the text of the severity, the title and the message), which
FerroUI's automation has no counterpart of. The peer exposes the bar instead: its name is the
title and the message of the bar when the application gives it none, it raises a change of the
name when they change, and its live setting is assertive for warnings and errors and polite
otherwise when the application sets none (WinUI's processing of the notifications,
GetProcessingForSeverity).
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<InfoBarAutomationPeer>
Returns a strong reference to this object.
construct
fn construct(owner: &InfoBar) -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new(owner: &InfoBar) -> Ref<Self>
Initializes a new peer of owner.
owner
fn owner(self: &Self) -> Ref<InfoBar>
Gets the owning info bar.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAutomationPeerImplExtControlAutomationPeerImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<InfoBarAutomationPeer>StaticTypeObjectTypeSubclassable<T>FerroObjectImplControlAutomationPeerImplAutomationPeerImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.