Skip to content

Instantly share code, notes, and snippets.

@annaleighsmith
annaleighsmith / tkinter_classes.py
Created August 1, 2021 04:05 — forked from dat-adi/tkinter_classes.py
Here's an implementation of working with Classes in Tkinter.
import tkinter as tk
from tkinter import ttk
class windows(tk.Tk):
def __init__(self, *args, **kwargs):
tk.Tk.__init__(self, *args, **kwargs)
# Adding a title to the window
self.wm_title("Test Application")