WindowDrawnDecorationsContent
struct · ferroui-controls · v0.5.0
struct WindowDrawnDecorationsContent
Holds the template content for
WindowDrawnDecorations. Contains three
visual slots: underlay, overlay, and fullscreen popover.
Members
TYPEto_refconstructnewoverlayset_overlayunderlayset_underlayfullscreen_popoverset_fullscreen_popover
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<WindowDrawnDecorationsContent>
Returns a strong reference to this object.
construct
fn construct() -> Self
Field initialisation only.
new
fn new() -> Ref<Self>
overlay
fn overlay(self: &Self) -> Option<Ref<Control>>
The overlay layer content (titlebar, caption buttons). Positioned above the client area.
set_overlay
fn set_overlay(self: &Self, value: impl Into<Nullable<Control>>)
underlay
fn underlay(self: &Self) -> Option<Ref<Control>>
The underlay layer content (borders, background, shadow area). Positioned below the client area.
set_underlay
fn set_underlay(self: &Self, value: impl Into<Nullable<Control>>)
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.
set_fullscreen_popover
fn set_fullscreen_popover(self: &Self, value: impl Into<Nullable<Control>>)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDerefUpcast<T>Upcast<WindowDrawnDecorationsContent>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.