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

Class _EGDataWidget
source code

object --+        
         |        
 _EGObject --+    
             |    
     _EGWidget --+
                 |
                _EGDataWidget
Known Subclasses:
_EGWidLabelEntry, CheckBox, Label

The base of every Eagle widget that holds data.

Widgets that holds data implement the interface with get_value() and set_value().

It can be made persistent with persistent=True

Instance Methods [hide private]
  __init__(self, id, persistent, app=None, expand_policy=None)
  get_value(self)
Get data from this widget.
  set_value(self, value)
Set data to this widget.

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

Inherited from _EGObject: __repr__, __str__

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


Class Variables [hide private]
persistent  

Inherited from _EGWidget: ORIENTATION_HORIZONTAL, ORIENTATION_VERTICAL, app

Inherited from _EGObject: id

Inherited from object: __class__


Method Details [hide private]

__init__(self, id, persistent, app=None, expand_policy=None)
(Constructor)

source code 
Overrides: _EGWidget.__init__

get_value(self)

source code 
Get data from this widget.

set_value(self, value)

source code 
Set data to this widget.

Class Variable Details [hide private]

persistent

Value:
False