FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TitleBarAutomationPeer

    struct · ferroui-controls · v0.5.0

    struct TitleBarAutomationPeer
    

    The automation peer of a TitleBar: a title bar whose name is its title when the application gives it none, as in WinUI.

    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<TitleBarAutomationPeer>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct(owner: &TitleBar) -> Self
    

    Source

    new

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

    Initializes a new peer of owner.

    Source

    owner

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

    The title bar of the peer.

    Source

    Trait implementations

    Availability

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