ActiveScreenBehavior
struct · ferroui-xaml-interactions-custom · v0.5.0
struct ActiveScreenBehavior
A behavior that exposes the screen containing the associated TopLevel.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<ActiveScreenBehavior>
Returns a strong reference to this object.
active_screen_property
fn active_screen_property() -> &'static DirectProperty<ActiveScreenBehavior, Option<Rc<Screen>>>
Identifies the ActiveScreen property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a behavior.
active_screen
fn active_screen(self: &Self) -> Option<Rc<Screen>>
Gets the active screen of the associated TopLevel. This is a property of the object
model.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeAttachedToVisualTreeBehaviorImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtStyledElementImplExtClassDefaultsErasedDestructorIntoEitherDisposingBehaviorImplExtStyledElementBehaviorImplExtDerefUpcast<T>Upcast<ActiveScreenBehavior>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplStyledElementImplStyledElementBehaviorImplDisposingBehaviorImplAttachedToVisualTreeBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.