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

Type _EGDataWidget

object --+        
         |        
 _EGObject --+    
             |    
     _EGWidget --+
                 |
                _EGDataWidget

Known Subclasses:
CheckBox, _EGWidLabelEntry

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
Method Summary
  __init__(self, id, persistent, app)
  get_value(self)
Get data from this widget.
  set_value(self, value)
Set data to this widget.
    Inherited from _EGWidget
  __get_resize_mode__(self)
Return a tuple with ( horizontal, vertical ) resize mode
  __get_widgets__(self)
Return a list of internal widgets this Eagle widget contains.
  hide(self)
Make widget invisible.
  set_active(self, active)
Set the widget as active.
  set_inactive(self)
Same as set_active( False )
  show(self)
Make widget visible.
    Inherited from _EGObject
  __repr__(self)
  __str__(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Property Summary
    Inherited from _EGWidget
  app
    Inherited from _EGObject
  id

Class Variable Summary
bool persistent = False

Method Details

get_value(self)

Get data from this widget.

set_value(self, value)

Set data to this widget.

Class Variable Details

persistent

Type:
bool
Value:
False                                                                  

Generated by Epydoc 2.1 on Sun Dec 25 16:27:53 2005 http://epydoc.sf.net