FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RepeatButton

    struct · ferroui-controls · v0.5.0

    struct RepeatButton
    

    Represents a control that raises its Click event repeatedly when it is pressed and held.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<RepeatButton>
    

    Returns a strong reference to this object.

    Source

    interval_property

    fn interval_property() -> &'static StyledProperty<i32>
    

    Defines the Interval property.

    Source

    delay_property

    fn delay_property() -> &'static StyledProperty<i32>
    

    Defines the Delay property.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates a repeat button.

    Source

    interval

    fn interval(self: &Self) -> i32
    

    The amount of time, in milliseconds, of repeating clicks.

    Source

    set_interval

    fn set_interval(self: &Self, value: i32)
    

    Source

    delay

    fn delay(self: &Self) -> i32
    

    The amount of time, in milliseconds, to wait before repeating begins.

    Source

    set_delay

    fn set_delay(self: &Self, value: i32)
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.