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 | |
from tkinter import messagebox | |
from tkinter import ttk | |
""" | |
Useful Links: | |
https://stackoverflow.com/questions/7546050/switch-between-two-frames-in-tkinter Most useful in my opinion | |
https://www.tutorialspoint.com/python/python_gui_programming.htm | |
https://anzeljg.github.io/rin2/book2/2405/docs/tkinter/index.html |
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 | |
# Lots of tutorials have from tkinter import *, but that is pretty much always a bad idea | |
from tkinter import ttk | |
import abc | |
class Menubar(ttk.Frame): | |
"""Builds a menu bar for the top of the main window""" | |
def __init__(self, parent, *args, **kwargs): | |
''' Constructor''' | |
ttk.Frame.__init__(self, parent, *args, **kwargs) |