wx.lib.progressindicator.ProgressIndicator¶
Panel() -> None Panel(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=TAB_TRAVERSAL, name=PanelNameStr) -> None
A panel is a window on which controls are placed.
Class Hierarchy¶
Known Superclasses¶
Methods Summary¶
Initialize self. See help(type(self)) for accurate signature. |
|
Set the text displayed in the label. |
|
For determinante mode (non-pulse) set the max value that the gauge can |
|
For determinante mode (non-pulse) update the progress indicator to the |
|
Show (if necessary) and begin displaying progress |
|
Stop showing progress |
Class API¶
- class ProgressIndicator(wx.Panel)¶
Panel() -> None Panel(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=TAB_TRAVERSAL, name=PanelNameStr) -> None
A panel is a window on which controls are placed.
Methods¶
- __init__(self, \*args, \*\*kw)¶
Initialize self. See help(type(self)) for accurate signature.
- onTimer(self, evt)¶
- SetLabel(self, text)¶
Set the text displayed in the label.
- SetRange(self, maxval)¶
For determinante mode (non-pulse) set the max value that the gauge can be set to. Defaults to 100.
- SetValue(self, value, label=None)¶
For determinante mode (non-pulse) update the progress indicator to the given value. For example, if the job is 45% done then pass 45 to this method (as long as the range is still set to 100.)
- Start(self, label=None)¶
Show (if necessary) and begin displaying progress
- Stop(self, clearLabel=False)¶
Stop showing progress