-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoddschecker_support.py
More file actions
50 lines (39 loc) · 934 Bytes
/
Copy pathoddschecker_support.py
File metadata and controls
50 lines (39 loc) · 934 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Support module generated by PAGE version 4.20
# in conjunction with Tcl version 8.6
# Oct 25, 2020 11:48:19 AM -0400 platform: Windows NT
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 spinbox1
spinbox1 = tk.StringVar()
global spinbox2
spinbox2 = tk.StringVar()
global spinbox3
spinbox3 = tk.StringVar()
global spinbox4
spinbox4 = tk.StringVar()
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 oddschecker
oddschecker.vp_start_gui()