/ . / CGLtk / ScrolledText.py / ScrolledText
ScrolledText is a Text with automatic scrollbars on the right
and bottom (left is arguably better, but everyone is used to the
right side now). To avoid problems with the infinite scrollbar
mapping/unmapping the scrollbars stick until the text is 'clear'ed.
The clear method handles read-only text. This widget works for both
fixed width fonts and variable width fonts. In Tk 8.4.13, using the
<> virtual event to tell when the text widget is empty,
doesn't work.
Methods
|
|
|
__init__
|
__init__ (
self,
master=None,
cnf={},
**kw,
)
|
|
|