FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    WindowDrawnDecorationsContent

    struct · ferroui-controls · v0.5.0

    struct WindowDrawnDecorationsContent
    

    Holds the template content for WindowDrawnDecorations. Contains three visual slots: underlay, overlay, and fullscreen popover.

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

    Returns a strong reference to this object.

    Source

    construct

    fn construct() -> Self
    

    Field initialisation only.

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    overlay

    fn overlay(self: &Self) -> Option<Ref<Control>>
    

    The overlay layer content (titlebar, caption buttons). Positioned above the client area.

    Source

    set_overlay

    fn set_overlay(self: &Self, value: impl Into<Nullable<Control>>)
    

    Source

    underlay

    fn underlay(self: &Self) -> Option<Ref<Control>>
    

    The underlay layer content (borders, background, shadow area). Positioned below the client area.

    Source

    set_underlay

    fn set_underlay(self: &Self, value: impl Into<Nullable<Control>>)
    

    Source

    fullscreen_popover

    fn fullscreen_popover(self: &Self) -> Option<Ref<Control>>
    

    The fullscreen popover content. Shown when the user hovers the pointer at the top of the window in fullscreen mode.

    Source

    set_fullscreen_popover

    fn set_fullscreen_popover(self: &Self, value: impl Into<Nullable<Control>>)
    

    Source

    Trait implementations

    Availability

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