This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk | |
root = tk.Tk() | |
# Tkinter widgets needed for scrolling. The only native scrollable container that Tkinter provides is a canvas. | |
# A Frame is needed inside the Canvas so that widgets can be added to the Frame and the Canvas makes it scrollable. | |
cTableContainer = tk.Canvas(root) | |
fTable = tk.Frame(cTableContainer) | |
sbHorizontalScrollBar = tk.Scrollbar(root) | |
sbVerticalScrollBar = tk.Scrollbar(root) |