PEATDB/Dialogs.py
def show_busy_bar(self,message='Please Wait'):
        """Show busy bar window for indeterminate time"""
        self.progress_win=Toplevel() # Open a new window
        self.progress_win.title(message)
        self.progress_win.geometry('+%d+%d' %(self.rootx+200,self.rooty+200))
        #force on top
        self.progress_win.grab_set()
        self.progress_win.transient(self.main)
        import BusyBar
        l = Label(self.progress_win, text=message)
        l.grid(row=0,column=0,sticky='nw',padx=6,pady=6)
        self.bb = BusyBar.BusyBar(self.progress_win, text='Please Wait')
        self.bb.grid(row=1,column=0,sticky='nw',padx=6,pady=6)
        return
Show busy bar window for indeterminate time
Show busy bar window for indeterminate time
Show busy bar window for indeterminate time
def show_busy_bar(self,message='Please Wait'):
        self.progress_win=Toplevel() 
        self.progress_win.title(message)
        self.progress_win.geometry('+%d+%d' %(self.rootx+200,self.rooty+200))
        self.progress_win.grab_set()
        self.progress_win.transient(self.main)
        import BusyBar
        l = Label(self.progress_win, text=message)
        l.grid(row=0,column=0,sticky='nw',padx=6,pady=6)
        self.bb = BusyBar.BusyBar(self.progress_win, text='Please Wait')
        self.bb.grid(row=1,column=0,sticky='nw',padx=6,pady=6)
        return
def show_busy_bar ( self , message = 'Please Wait' ) : self . progress_win = Toplevel ( ) self . progress_win . title ( message ) self . progress_win . geometry ( '+%d+%d' % ( self . rootx + 200 , self . rooty + 200 ) ) self . progress_win . grab_set ( ) self . progress_win . transient ( self . main ) import BusyBar l = Label ( self . progress_win , text = message ) l . grid ( row = 0 , column = 0 , sticky = 'nw' , padx = 6 , pady = 6 ) self . bb = BusyBar . BusyBar ( self . progress_win , text = 'Please Wait' ) self . bb . grid ( row = 1 , column = 0 , sticky = 'nw' , padx = 6 , pady = 6 ) return
Show busy bar window for indeterminate time
Show busy bar window for indeterminate time
"""Show busy bar window for indeterminate time""" # Open a new window #force on top
self
message