pyface.i_progress_dialog module¶
The interface for a dialog that allows the user to display progress of an operation.
-
class
pyface.i_progress_dialog.
IProgressDialog
(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]¶ Bases:
pyface.i_dialog.IDialog
A simple progress dialog window which allows itself to be updated
-
message
= Str()¶ The message to display in the dialog
-
min
= Int()¶ The minimum progress value
-
max
= Int()¶ The maximum progress value
-
margin
= Int(5)¶ The margin around the progress bar
-
can_cancel
= Bool(False)¶ Whether the operation can be cancelled
-
show_time
= Bool(False)¶ Whether to show progress times
-
show_percent
= Bool(False)¶ Whether to show progress percent
Label for the ‘cancel’ button
-
-
class
pyface.i_progress_dialog.
MProgressDialog
[source]¶ Bases:
traits.has_traits.HasTraits
The mixin class that contains common code for toolkit specific implementations of the IProgressDialog interface.
Implements: update()