diff options
Diffstat (limited to 'Lib/tkinter/scrolledtext.py')
-rw-r--r-- | Lib/tkinter/scrolledtext.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/tkinter/scrolledtext.py b/Lib/tkinter/scrolledtext.py index 9aa936a..749a06a6 100644 --- a/Lib/tkinter/scrolledtext.py +++ b/Lib/tkinter/scrolledtext.py @@ -16,6 +16,7 @@ __all__ = ['ScrolledText'] from tkinter import Frame, Text, Scrollbar, Pack, Grid, Place from tkinter.constants import RIGHT, LEFT, Y, BOTH + class ScrolledText(Text): def __init__(self, master=None, **kw): self.frame = Frame(master) @@ -50,5 +51,6 @@ def example(): stext.focus_set() stext.mainloop() + if __name__ == "__main__": example() |