2023-02-15 23:19:12 +00:00
|
|
|
import tkinter as tk
|
2023-02-14 19:54:53 +00:00
|
|
|
|
2023-02-15 23:19:12 +00:00
|
|
|
class ScenarioPage(tk.Frame):
|
2023-02-14 19:54:53 +00:00
|
|
|
def __init__(self, parent, controller):
|
2023-02-15 23:19:12 +00:00
|
|
|
tk.Frame.__init__(self, parent)
|
2023-02-14 19:54:53 +00:00
|
|
|
|
2023-02-15 23:19:12 +00:00
|
|
|
tk.Label(self, text="Teams").grid(column=1, row=1)
|
2023-02-14 19:54:53 +00:00
|
|
|
|
|
|
|
# button = ttk.Button(self, text="Import")
|
|
|
|
# button.grid(column=2, row=1, sticky=(W, E))
|
|
|
|
# button.pack
|
|
|
|
|
|
|
|
# ttk.Label(self, text="Terrains").grid(column=1, row=2, sticky=E)
|
|
|
|
# ttk.Button(self, text="Import from CSV").grid(column=2, row=2, sticky=(W, E))
|
|
|
|
|
|
|
|
# teamCount = StringVar(value=8)
|
|
|
|
# ttk.Label(self, text="Teams count").grid(column=1, row=3, sticky=E)
|
|
|
|
# teamCountEntry = ttk.Spinbox(self, textvariable=teamCount, from_=1, to=100).grid(column=2, row=3, sticky=(W, E))
|
|
|
|
|
|
|
|
# terrainCount = StringVar(value=4)
|
|
|
|
# terrainCountLabel = ttk.Label(self, text="Terrain count")
|
|
|
|
# terrainCountLabel.grid(column=1, row=4, sticky=E).pack()
|
|
|
|
|
|
|
|
|
|
|
|
# terrainCountEntry = ttk.Spinbox(self, textvariable=terrainCount, from_=1, to=100).grid(column=2, row=4, sticky=(W, E))
|
|
|
|
|
|
|
|
# ttk.Button(self, text="Test").grid(column=3, row=5, sticky=(W, E))
|