FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ScrollEventType

    enum · ferroui-controls · v0.5.0

    enum ScrollEventType
    

    Specifies the type of ScrollBar scroll event that occurred.

    View source

    Members

    SmallDecrement

    SmallDecrement = 0
    

    The thumb moved a distance determined by the value of SmallChange: to the left for a horizontal scroll bar or upward for a vertical one.

    Source

    SmallIncrement

    SmallIncrement = 1
    

    The thumb moved a distance determined by the value of SmallChange: to the right for a horizontal scroll bar or downward for a vertical one.

    Source

    LargeDecrement

    LargeDecrement = 2
    

    The thumb moved a distance determined by the value of LargeChange: to the left for a horizontal scroll bar or upward for a vertical one.

    Source

    LargeIncrement

    LargeIncrement = 3
    

    The thumb moved a distance determined by the value of LargeChange: to the right for a horizontal scroll bar or downward for a vertical one.

    Source

    ThumbTrack

    ThumbTrack = 4
    

    The thumb was dragged and caused a pointer move event. A scroll event of this type may occur more than one time when the thumb is dragged in the scroll bar.

    Source

    EndScroll

    EndScroll = 5
    

    The thumb was dragged to a new position and is now no longer being dragged by the user.

    Source

    Trait implementations

    Availability

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