.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. currentmodule:: wx.lib.progressindicator .. highlight:: python .. _wx.lib.progressindicator.ProgressIndicator: ========================================================================================================================================== |phoenix_title| **wx.lib.progressindicator.ProgressIndicator** ========================================================================================================================================== Panel() Panel(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=TAB_TRAVERSAL, name=PanelNameStr) A panel is a window on which controls are placed. | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class ProgressIndicator:
| |super_classes| Known Superclasses ================================== :class:`wx.Panel` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~wx.lib.progressindicator.ProgressIndicator.__init__` Initialize self. See help(type(self)) for accurate signature. :meth:`~wx.lib.progressindicator.ProgressIndicator.onTimer` :meth:`~wx.lib.progressindicator.ProgressIndicator.SetLabel` Set the text displayed in the label. :meth:`~wx.lib.progressindicator.ProgressIndicator.SetRange` For determinante mode (non-pulse) set the max value that the gauge can :meth:`~wx.lib.progressindicator.ProgressIndicator.SetValue` For determinante mode (non-pulse) update the progress indicator to the :meth:`~wx.lib.progressindicator.ProgressIndicator.Start` Show (if necessary) and begin displaying progress :meth:`~wx.lib.progressindicator.ProgressIndicator.Stop` Stop showing progress ================================================================================ ================================================================================ | |api| Class API =============== .. class:: ProgressIndicator(wx.Panel) Panel() Panel(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=TAB_TRAVERSAL, name=PanelNameStr) A panel is a window on which controls are placed. .. method:: __init__(self, \*args, \*\*kw) Initialize self. See help(type(self)) for accurate signature. .. method:: onTimer(self, evt) .. method:: SetLabel(self, text) Set the text displayed in the label. .. method:: SetRange(self, maxval) For determinante mode (non-pulse) set the max value that the gauge can be set to. Defaults to 100. .. method:: 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.) .. method:: Start(self, label=None) Show (if necessary) and begin displaying progress .. method:: Stop(self, clearLabel=False) Stop showing progress