def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() givereview_support.set_Tk_var() top = Give_Review (root) givereview_support.init(root, top) root.mainloop()
def vp_start_gui(): '''Starting point when module is the main routine.''' global val, w, root root = Tk() givereview_support.set_Tk_var() top = Give_Review(root) givereview_support.init(root, top) root.mainloop()
def create_Give_Review(root, *args, **kwargs): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel (root) givereview_support.set_Tk_var() top = Give_Review (w) givereview_support.init(w, top, *args, **kwargs) return (w, top)
def create_Give_Review(root, *args, **kwargs): '''Starting point when module is imported by another program.''' global w, w_win, rt rt = root w = Toplevel(root) givereview_support.set_Tk_var() top = Give_Review(w) givereview_support.init(w, top, *args, **kwargs) return (w, top)