PEATDB/Dialogs.py
def createBusywin(parent, message):
    """Show busy bar window for indeterminate time"""
    rootx = parent.winfo_rootx()
    rooty = parent.winfo_rooty()
    progress_win=Toplevel()
    progress_win.title("Please Wait")
    progress_win.geometry('+%d+%d' %(rootx+200,rooty+200))
    progress_win.grab_set()
    progress_win.transient(parent)
    import BusyBar
    l = Label(progress_win, text=message)
    l.grid(row=0,column=0,sticky='nw',padx=6,pady=6)
    bb = BusyBar.BusyBar(progress_win, text='Please Wait')
    bb.grid(row=1,column=0,sticky='nw',padx=6,pady=6)
    return progress_win, bb
Show busy bar window for indeterminate time
Show busy bar window for indeterminate time
Show busy bar window for indeterminate time
def createBusywin(parent, message):
    rootx = parent.winfo_rootx()
    rooty = parent.winfo_rooty()
    progress_win=Toplevel()
    progress_win.title("Please Wait")
    progress_win.geometry('+%d+%d' %(rootx+200,rooty+200))
    progress_win.grab_set()
    progress_win.transient(parent)
    import BusyBar
    l = Label(progress_win, text=message)
    l.grid(row=0,column=0,sticky='nw',padx=6,pady=6)
    bb = BusyBar.BusyBar(progress_win, text='Please Wait')
    bb.grid(row=1,column=0,sticky='nw',padx=6,pady=6)
    return progress_win, bb
def createBusywin ( parent , message ) : rootx = parent . winfo_rootx ( ) rooty = parent . winfo_rooty ( ) progress_win = Toplevel ( ) progress_win . title ( "Please Wait" ) progress_win . geometry ( '+%d+%d' % ( rootx + 200 , rooty + 200 ) ) progress_win . grab_set ( ) progress_win . transient ( parent ) import BusyBar l = Label ( progress_win , text = message ) l . grid ( row = 0 , column = 0 , sticky = 'nw' , padx = 6 , pady = 6 ) bb = BusyBar . BusyBar ( progress_win , text = 'Please Wait' ) bb . grid ( row = 1 , column = 0 , sticky = 'nw' , padx = 6 , pady = 6 ) return progress_win , bb
Show busy bar window for indeterminate time
Show busy bar window for indeterminate time
"""Show busy bar window for indeterminate time"""
parent
message