Scrollbar
Implements the scrollbar-related widgets for internal use.
You will not need to use the widgets defined in this module.
ScrollBar
class
¶
Bases: Widget
renderer
class-attribute
¶
The class used for rendering scrollbars. This can be overridden and set to a ScrollBarRender-derived class in order to delegate all scrollbar rendering to that class. E.g.:
class MyScrollBarRender(ScrollBarRender): ...
app = MyApp()
ScrollBar.renderer = MyScrollBarRender
app.run()
Because this variable is accessed through specific instances (rather than through the class ScrollBar itself) it is also possible to set this on specific scrollbar instance to change only that instance:
action_scroll_down
method
¶
Scroll vertical scrollbars down, horizontal scrollbars right.
action_scroll_up
method
¶
Scroll vertical scrollbars up, horizontal scrollbars left.
ScrollBarCorner
class
¶
Bases: Widget
Widget which fills the gap between horizontal and vertical scrollbars, should they both be present.
ScrollDown
class
¶
Bases: ScrollMessage
Message sent when clicking below handle.
ScrollLeft
class
¶
Bases: ScrollMessage
Message sent when clicking above handle.
ScrollRight
class
¶
Bases: ScrollMessage
Message sent when clicking below handle.
ScrollTo
class
¶
ScrollUp
class
¶
Bases: ScrollMessage
Message sent when clicking above handle.