FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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).

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<InfoBarAutomationPeer>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct(owner: &InfoBar) -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new(owner: &InfoBar) -> Ref<Self>
    

    Initializes a new peer of owner.

    Source

    owner

    fn owner(self: &Self) -> Ref<InfoBar>
    

    Gets the owning info bar.

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.