#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Support module generated by PAGE version 4.25
# in conjunction with Tcl version 8.6
# Aug 29, 2019 08:17:59 AM IST platform: Linux
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
[docs]def set_Tk_var():
global progress_bar
progress_bar = tk.IntVar()
global selectedButton
selectedButton = tk.StringVar()
[docs]def Aboutus():
print('DeepBrainSeg1_support.Aboutus')
sys.stdout.flush()
[docs]def FlairView():
print('DeepBrainSeg1_support.FlairView')
sys.stdout.flush()
[docs]def GetRadiomics():
print('DeepBrainSeg1_support.GetRadiomics')
sys.stdout.flush()
[docs]def Get_Segmentation():
print('DeepBrainSeg1_support.Get_Segmentation')
sys.stdout.flush()
[docs]def Load_Flair():
print('DeepBrainSeg1_support.Load_Flair')
sys.stdout.flush()
[docs]def Load_T1():
print('DeepBrainSeg1_support.Load_T1')
sys.stdout.flush()
[docs]def Load_T1ce():
print('DeepBrainSeg1_support.Load_T1ce')
sys.stdout.flush()
[docs]def Load_T2():
print('DeepBrainSeg1_support.Load_T2')
sys.stdout.flush()
[docs]def SegmentationOverlay():
print('DeepBrainSeg1_support.SegmentationOverlay')
sys.stdout.flush()
[docs]def T1View():
print('DeepBrainSeg1_support.T1View')
sys.stdout.flush()
[docs]def T1ceView():
print('DeepBrainSeg1_support.T1ceView')
sys.stdout.flush()
[docs]def T2View():
print('DeepBrainSeg1_support.T2View')
sys.stdout.flush()
[docs]def init(top, gui, *args, **kwargs):
global w, top_level, root
w = gui
top_level = top
root = top
[docs]def destroy_window():
# Function which closes the window.
global top_level
top_level.destroy()
top_level = None
if __name__ == '__main__':
import DeepBrainSeg
DeepBrainSeg.vp_start_gui()