示例#1
0
def vp_start_gui():
    '''Starting point when module is the main routine.'''
    global val, w, root
    root = Tk()
    top = View_Popular_Route_Report (root)
    viewpoproutereport_support.init(root, top)
    root.mainloop()
示例#2
0
def create_View_Popular_Route_Report(root, *args, **kwargs):
    '''Starting point when module is imported by another program.'''
    global w, w_win, rt
    rt = root
    w = Toplevel (root)
    top = View_Popular_Route_Report (w)
    viewpoproutereport_support.init(w, top, *args, **kwargs)
    return (w, top)