def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() progress_bar_support.set_Tk_var() top = Progress_Bar (root) progress_bar_support.init(root, top) root.mainloop()
def create_Progress_Bar(root, *args, **kwargs): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel (root) progress_bar_support.set_Tk_var() top = Progress_Bar (w) progress_bar_support.init(w, top, *args, **kwargs) return (w, top)
def create_Progress_Bar(root): '''Starting point when module is imported by another program.''' global w, w_win w = Toplevel(root) w.title('Progress_Bar') w.geometry('301x129+472+154') progress_bar_support.set_Tk_var() w_win = Progress_Bar(w) progress_bar_support.init(w, w_win) return w_win
def create_Progress_Bar (root): '''Starting point when module is imported by another program.''' global w, w_win w = Toplevel (root) w.title('Progress_Bar') w.geometry('301x129+472+154') progress_bar_support.set_Tk_var() w_win = Progress_Bar (w) progress_bar_support.init(w, w_win) return w_win
def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() root.title('Progress_Bar') root.geometry('301x129+472+154') progress_bar_support.set_Tk_var() #set_Tk_var() w = Progress_Bar(root) progress_bar_support.init(root, w) root.mainloop()
def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() root.title('Progress_Bar') root.geometry('301x129+472+154') progress_bar_support.set_Tk_var() #set_Tk_var() w = Progress_Bar (root) progress_bar_support.init(root, w) root.mainloop()