gui boilerplate, arguments idea

This commit is contained in:
Xevion
2019-07-29 13:00:07 -06:00
parent 6a3b0743c6
commit 1438b65b96

24
gui.py
View File

@@ -0,0 +1,24 @@
import tkinter as tk
from tkinter import ttk
"""
--- Arguments ---
ordo,++terra,+aer,-metallum|ratio /R|count
--- Meaning ---
Selected Aspects: Ordo, Terra
Soft Whitelist: Aer
Blacklist: Metallum
Sorts first by Reverse Ratio ()
Sorts second by count of selected aspects
"""
class App(tk.Frame):
def __init__(self, parent):
self.parent = parent
self.tree = ttk.Treeview()
self.tree.grid(column=0, row=1, columnspan=1, rowspan=1, sticky='NEWS')
if __name__ == "__main__":
root = tk.Tk()
screen = App(root)
root.mainloop()