-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathmain.py
More file actions
executable file
·26 lines (23 loc) · 745 Bytes
/
Copy pathmain.py
File metadata and controls
executable file
·26 lines (23 loc) · 745 Bytes
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
from tkinter import *
from tkinter import ttk
import submitBot as SB
import createRoles as CR
# Establishes root GUI Frame as Tk() object (a GUI)
root = Tk()
root.title("Bot Factory")
finalSubmit = SB.SubmitTokenRequest(root)
# Instantiate a ttk Notebook object with root as it's master window
nb = ttk.Notebook(root, width=900)
# Create Tabs in Notebook as new Frames
f1 = ttk.Frame(nb)
#f2 = ttk.Frame(nb)
#f3 = ttk.Frame(nb)
# Add Tabs to Notebook with titles
nb.add(f1, text="Create Roles")
CR.SetAttributes(f1)
nb.pack(fill="both", expand=True)
nb.grid()
credit = Label(root, text="Joel Aguilar, Cody Evans, and James Howell 2019").grid()
# Loop to keep program running until user closes program
root.geometry("965x700")
root.mainloop()