A scroll event holds information about events sent from stand-alone
scrollbars and sliders. Note that
starting from Widgets 2.1, scrolled windows send the
ScrollWinEvent which does not derive from
CommandEvent, but from Event directly – don’t confuse these two kinds of
events and use the event table macros mentioned below only for the
scrollbar-like controls.
Note that unless specifying a scroll control identifier, you will need to test for scrollbar
orientation with ScrollEvent#get_orientation, since
horizontal and vertical scroll events are processed using the same event handler.
ScrollBar, Slider, SpinButton,
ScrollWinEvent, Event handling overview
Constructor.
Returns HORIZONTAL or VERTICAL, depending on the orientation of the scrollbar.
Returns the position of the scrollbar.
[This page automatically generated from the Textile source at 2023-06-13 21:31:34 +0000]