-
Notifications
You must be signed in to change notification settings - Fork 1
/
solve_lin_sys_support.py
84 lines (73 loc) · 1.53 KB
/
solve_lin_sys_support.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Dimensional Analysis code support file
# author: Mohammad Afzal Shadab
# date: 02/18/2021
# email: mashadab@utexas.edu
import sys
try:
import Tkinter as tk
except ImportError:
import tkinter as tk
try:
import ttk
py3 = False
except ImportError:
import tkinter.ttk as ttk
py3 = True
def set_Tk_var():
global che61
che61 = tk.IntVar()
global che62
che62 = tk.IntVar()
global che63
che63 = tk.IntVar()
global che64
che64 = tk.IntVar()
global che65
che65 = tk.IntVar()
global che66
che66 = tk.IntVar()
global che67
che67 = tk.IntVar()
global che68
che68 = tk.IntVar()
global che69
che69 = tk.IntVar()
global che70
che70 = tk.IntVar()
global che71
che71 = tk.IntVar()
global che72
che72 = tk.IntVar()
global che73
che73 = tk.IntVar()
global che74
che74 = tk.IntVar()
global che75
che75 = tk.IntVar()
global che76
che76 = tk.IntVar()
global che77
che77 = tk.IntVar()
global che78
che78 = tk.IntVar()
global che79
che79 = tk.IntVar()
global che80
che80 = tk.IntVar()
global che81
che81 = tk.IntVar()
global che82
che82 = tk.IntVar()
def init(top, gui, *args, **kwargs):
global w, top_level, root
w = gui
top_level = top
root = top
def destroy_window():
# Function which closes the window.
global top_level
top_level.destroy()
top_level = None
if __name__ == '__main__':
import solve_lin_sys
solve_lin_sys.vp_start_gui()