make settings persistent
This commit is contained in:
parent
05bad3c7b2
commit
64e7f83caf
|
@ -7,8 +7,9 @@ cpusVar = tk.StringVar(w)
|
||||||
cycVar = tk.StringVar(w)
|
cycVar = tk.StringVar(w)
|
||||||
N_tsVar = tk.StringVar(w)
|
N_tsVar = tk.StringVar(w)
|
||||||
T_cycVar = tk.StringVar(w)
|
T_cycVar = tk.StringVar(w)
|
||||||
settings = 0
|
settings=[]
|
||||||
def getvars():
|
def getvars():
|
||||||
|
global settings
|
||||||
p_name = p_nameVar.get()
|
p_name = p_nameVar.get()
|
||||||
cpus = cpusVar.get()
|
cpus = cpusVar.get()
|
||||||
cyc = cycVar.get()
|
cyc = cycVar.get()
|
||||||
|
@ -36,3 +37,5 @@ button = tk.Button(w, text="Get vars", command=getvars).grid(row=5)
|
||||||
|
|
||||||
|
|
||||||
w.mainloop()
|
w.mainloop()
|
||||||
|
|
||||||
|
print(settings)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user