#! /usr/bin/env python
#  -*- coding: utf-8 -*-
#
# Support module generated by PAGE version 4.14
# In conjunction with Tcl version 8.6
#    Jun 17, 2018 12:10:42 AM


import sys

try:
    from Tkinter import *
except ImportError:
    from tkinter import *

try:
    import ttk
    py3 = False
except ImportError:
    import tkinter.ttk as ttk
    py3 = True
def set_Tk_var():
    global PathEntry
    PathEntry = StringVar()
    global filename
    filename = StringVar()
    global extension
    extension = StringVar()
    global From
    From = StringVar()
    global To
    To = StringVar()

def Browse():
    print('trans_ui_support.Browse')
    sys.stdout.flush()

def Translate():
    print('trans_ui_support.Translate')
    sys.stdout.flush()

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 trans_ui
    trans_ui.vp_start_gui()


