Class s.g.d.p.ProgressDialog(GladeDelegate):

Part of stoqlib.gui.dialogs.progressdialog View In Hierarchy

This is a dialog you use to show the progress of a certain task. It's just a label, progress bar and button. it'll always be displayed in the center of a screen. The progress is pulsating and updated every 100 ms.

Signals

Method __init__ Create a new ProgressDialog object.
Method start Start the task, it'll pulsate the progress bar until stop() is called
Method stop Stops pulsating and hides the dialog
Method set_label Update the label of the dialog
Method _real_start Undocumented
Method _pulse_timeout Undocumented
Method on_cancel__clicked Undocumented
def __init__(self, label=''):
Create a new ProgressDialog object.
Parameterslabelinitial content of the label
def start(self, wait=50):
Start the task, it'll pulsate the progress bar until stop() is called
Parameterswaithow many ms to wait before showing the dialog, defaults to 50
def stop(self):
Stops pulsating and hides the dialog
def set_label(self, label):
Update the label of the dialog
Parameterslabelthe new content of the label
def _real_start(self):
Undocumented
def _pulse_timeout(self):
Undocumented
def on_cancel__clicked(self, button):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.