Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
Rick Lawson
Heavily borrowed from ProgressBar.py which I got off the net but can't remember where
Feel free to add credits.
Comments by Stewart Midwinter: 
 I added a Quit button so you can stop the app.
 I also set up a timer so that the BusyBar stops after a certain period.
 Next, I added a button to bring up a BusyBar in a top-level window, similar to what
 you might a process to do while it was, in fact, busy.
 The top-level window is non-modal; it's left as an exercise for you, the reader, to change that if needed.


config options
--------------
BusyBar is derived from frame so all frame options are fine
Here are the options specific to this widget
fill       - color of the progress box (the box that bounces back and forth)
boxWidth   - width of progress box as a fraction of total widget width
interval   - interval in ms at which the progress box is moved
             ie, the shorter this is the faster the box will move
increment  - fraction of widget width that the box moves during an update
             ie, 0.05 means that box will move 5% of the total width at an update
text       - text of message that is displayed in the middle of the widget
foreground - color of text message
font       - font of text message

src/p/e/PEATDB-2.3/PEATDB/Dialogs.py   PEATDB(Download)
        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)
    def createBusyBar(cls, parent):
        import BusyBar        
        bb = BusyBar.BusyBar(parent, text='Busy')        
        return bb
 
    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)