RepeatButton
struct · ferroui-controls · v0.5.0
struct RepeatButton
Represents a control that raises its Click event repeatedly when it is
pressed and held.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<RepeatButton>
Returns a strong reference to this object.
interval_property
fn interval_property() -> &'static StyledProperty<i32>
Defines the Interval property.
delay_property
fn delay_property() -> &'static StyledProperty<i32>
Defines the Delay property.
construct
fn construct() -> Self
Creates the class data; see ferroui_base::FerroObject::construct.
new
fn new() -> Ref<Self>
Creates a repeat button.
interval
fn interval(self: &Self) -> i32
The amount of time, in milliseconds, of repeating clicks.
set_interval
fn set_interval(self: &Self, value: i32)
delay
fn delay(self: &Self) -> i32
The amount of time, in milliseconds, to wait before repeating begins.
set_delay
fn set_delay(self: &Self, value: i32)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTemplatedControlImplExtContentControlImplExtControlImplExtButtonImplExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyInputElementImplExtInteractiveImplExtLayoutableImplExtFerroObjectImplExtStyledElementImplExtClassDefaultsVisualImplExtErasedDestructorIntoEitherDerefUpcast<T>Upcast<RepeatButton>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleStyledElementImplVisualImplLayoutableImplInteractiveImplControlImplTemplatedControlImplContentControlImplButtonImplFerroObjectImplInputElementImplDrop
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.