| CARVIEW |
Select Language
HTTP/2 200
server: nginx
content-type: text/html
last-modified: Tue, 30 Dec 2025 06:26:47 GMT
etag: "695370a7-466b"
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=315360000; includeSubDomains; preload
content-encoding: gzip
via: 1.1 varnish, 1.1 varnish
accept-ranges: bytes
age: 0
date: Wed, 31 Dec 2025 02:16:48 GMT
x-served-by: cache-lga21959-LGA, cache-bom-vanm7210076-BOM
x-cache: HIT, MISS
x-cache-hits: 136, 0
x-timer: S1767147408.020505,VS0,VE204
vary: Accept-Encoding
content-length: 3876
tkinter.scrolledtext — Scrolled Text Widget — Python 3.14.2 documentation
Navigation
tkinter.scrolledtext — Scrolled Text Widget¶
Source code: Lib/tkinter/scrolledtext.py
The tkinter.scrolledtext module provides a class of the same name which
implements a basic text widget which has a vertical scroll bar configured to do
the “right thing.” Using the ScrolledText class is a lot easier than
setting up a text widget and scroll bar directly.
The text widget and scrollbar are packed together in a Frame, and the
methods of the Grid and Pack geometry managers are acquired
from the Frame object. This allows the ScrolledText widget to
be used directly to achieve most normal geometry management behavior.
Should more specific control be necessary, the following attributes are available:
Previous topic
Next topic
This page
«
Navigation
© Copyright 2001 Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Dec 30, 2025 (06:25 UTC). Found a bug?
Created using Sphinx 9.0.4.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Dec 30, 2025 (06:25 UTC). Found a bug?
Created using Sphinx 9.0.4.