InactivityTrigger
struct · ferroui-xaml-interactions-custom · v0.5.0
struct InactivityTrigger
A trigger that fires when the user has been inactive (no mouse/keyboard input) for a specified duration.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<InactivityTrigger>
Returns a strong reference to this object.
timeout_property
fn timeout_property() -> &'static StyledProperty<Duration>
Identifies the Timeout property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a trigger.
timeout
fn timeout(self: &Self) -> Duration
Gets or sets the inactivity timeout duration.
set_timeout
fn set_timeout(self: &Self, value: Duration)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyFerroObjectImplExtClassDefaultsErasedDestructorIntoEitherBehaviorImplExtDerefUpcast<T>Upcast<InactivityTrigger>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplBehaviorImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.