-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSalsa_support.py
More file actions
44 lines (33 loc) · 804 Bytes
/
Copy pathSalsa_support.py
File metadata and controls
44 lines (33 loc) · 804 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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Support module generated by PAGE version 5.2
# in conjunction with Tcl version 8.6
# Jun 11, 2020 08:20:16 PM IST 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 che51
che51 = 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 Salsa
Salsa.vp_start_gui()