WindowDecorationProperties
struct · ferroui-controls · v0.5.0
struct WindowDecorationProperties
Provides attached properties for window decoration hit-testing.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this type.
element_role_property
fn element_role_property() -> &'static AttachedProperty<WindowDecorationsElementRole>
Defines the ElementRole attached property. Marks a visual
element with a specific role for non-client hit-testing. Can be
applied to any element in the visual tree, not limited to
decoration children.
Setting an element role only has an effect if the
ExtendClientAreaToDecorationsHint of the window is true.
get_element_role
fn get_element_role(element: &Visual) -> WindowDecorationsElementRole
Gets the WindowDecorationsElementRole for the specified element.
set_element_role
fn set_element_role(element: &Visual, value: WindowDecorationsElementRole)
Sets the WindowDecorationsElementRole for the specified element.
Setting an element role only has an effect if the
ExtendClientAreaToDecorationsHint of the window is true.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEitherStaticType
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.