.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2018 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 <div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;"> <img id="toggleBlock-trigger" src="_static/images/closed.png"/> Inheritance diagram for class <strong>ProgressIndicator</strong>: </div> <div id="toggleBlock-summary" style="display:block;"></div> <div id="toggleBlock-content" style="display:none;"> <p class="graphviz"> <center><img src="_static/images/inheritance/wx.lib.progressindicator.ProgressIndicator_inheritance.png" alt="Inheritance diagram of ProgressIndicator" usemap="#dummy" class="inheritance"/></center> <script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script> <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.progressindicator.ProgressIndicator.html" title="Panel()" alt="" coords="5,392,308,421"/> <area shape="rect" id="node2" href="wx.Panel.html" title="A panel is a window on which controls are placed." alt="" coords="116,315,197,344"/> <area shape="rect" id="node3" href="wx.Window.html" title="wx.Window is the base class for all windows and represents any visible object on screen." alt="" coords="108,237,205,267"/> <area shape="rect" id="node4" href="wx.WindowBase.html" title="wx.WindowBase" alt="" coords="91,160,222,189"/> <area shape="rect" id="node5" href="wx.EvtHandler.html" title="A class that can handle events from the windowing system." alt="" coords="97,83,216,112"/> <area shape="rect" id="node6" href="wx.Object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="51,5,139,35"/> <area shape="rect" id="node7" href="wx.Trackable.html" title="Add-on base class for a trackable object." alt="" coords="164,5,275,35"/> </map> </p> </div> | |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