Module eagle :: Class Progress
[hide private]
[frames] | no frames]

Class Progress
source code

object --+                
         |                
 _EGObject --+            
             |            
     _EGWidget --+        
                 |        
     _EGDataWidget --+    
                     |    
      _EGWidLabelEntry --+
                         |
                        Progress

Progress bar.

Instance Methods [hide private]
  __init__(self, id, label="", value=0.0, expand_policy=None)
Progress bar constructor.
  __setup_gui__(self)
  get_value(self)
  set_value(self, value)
  pulse(self)
Animate progress bar.

Inherited from _EGWidLabelEntry: __configure_orientation__, __repr__, __str__, get_label, set_label

Inherited from _EGWidget: __get_widgets__, hide, set_active, set_inactive, show

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__


Class Variables [hide private]
value  

Inherited from _EGWidLabelEntry: label

Inherited from _EGDataWidget: persistent

Inherited from _EGWidget: ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, app

Inherited from _EGObject: id

Inherited from object: __class__


Method Details [hide private]

__init__(self, id, label="", value=0.0, expand_policy=None)
(Constructor)

source code 

Progress bar constructor.

0 <= value <= 1.0
Parameters:
  • id - unique identifier.
  • label - what to show on a label on the left side of the widget.
  • value - initial content ( 0.0 <= value <= 1.0 )
  • expand_policy - how this widget should fit space, see ExpandPolicy.Policy.Rule.
Overrides: _EGWidLabelEntry.__init__

__setup_gui__(self)

source code 
Overrides: _EGWidLabelEntry.__setup_gui__

get_value(self)

source code 
Overrides: _EGWidLabelEntry.get_value

set_value(self, value)

source code 
Overrides: _EGWidLabelEntry.set_value

pulse(self)

source code 
Animate progress bar.

Class Variable Details [hide private]

value

Value:
_gen_ro_property("value")