-
Notifications
You must be signed in to change notification settings - Fork 0
/
gui.py
33 lines (24 loc) · 888 Bytes
/
gui.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# import modules
import utils
import web
import gui
import tkinter as tk
from tkinter import ttk
window = tk.Tk()
window.title("Math Haxor")
window.geometry("-100+100")
window.resizable(False, False)
gui.icon.setIcon(window)
mainTabControl = ttk.Notebook(window)
elementraySchoolTab = ttk.Frame(mainTabControl)
mainTabControl.add(elementraySchoolTab, text ='Elementary School')
mainTabControl.pack(expand = 1, fill ="both")
gui.elementary.Tab(elementraySchoolTab)
# Credits
bottomFrame = ttk.Frame(window)
bottomFrame.pack(side="bottom", fill="x")
versionLabel = ttk.Label(bottomFrame, text="v0.9.0")
versionLabel.pack(side="right", fill="x", padx=10, pady=10)
creditsLabel = ttk.Label(bottomFrame, text="Created by Stanley Skarshaug - www.haxor.no")
creditsLabel.pack(side="left", fill="x", padx=10, pady=10)
window.mainloop()