GUI and Desktop Modules
tkinter.scrolledtext
Combines a Tk Text widget with a vertical scrollbar in a containing Frame. The wrapper exposes geometry-manager methods for the frame so it can be placed like an ordinary widget. Use it for simple multiline editors or logs. The example inspects inheritance without creating widgets.
Formal Syntax & Structure
python syntaxpython
import tkinter.scrolledtextReturn Value
module
Module namespace available through import; import is a statement, not a value-returning expression.
Working Example
Example Snippetpython
from tkinter.scrolledtext import ScrolledTextfrom tkinter import Textprint(issubclass(ScrolledText, Text))