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

Type Label

object --+        
         |        
 _EGObject --+    
             |    
     _EGWidget --+
                 |
    object --+   |
             |   |
     AutoGenId --+
                 |
                Label


Text label
Method Summary
  __init__(self, id, label, halignment, valignment)
Label constructor.
  get_value(self)
  set_value(self, value)
    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
  label

Class Variable Summary
float BOTTOM = 1.0                                                                   
float CENTER = 0.5                                                                   
float LEFT = 0.0                                                                   
float MIDDLE = 0.5                                                                   
float RIGHT = 1.0                                                                   
float TOP = 0.0                                                                   

Instance Method Details

__init__(self, id=None, label='', halignment=0.0, valignment=0.5)
(Constructor)

Label constructor.
Parameters:
id - may not be provided, it will be generated automatically.
label - what this label will show.
halignment - horizontal alignment, like LEFT, RIGHT or CENTER.
valignment - vertical alignment, like TOP, BOTTOM or MIDDLE.
Overrides:
eagle._EGWidget.__init__

Class Variable Details

BOTTOM

Type:
float
Value:
1.0                                                                   

CENTER

Type:
float
Value:
0.5                                                                   

LEFT

Type:
float
Value:
0.0                                                                   

MIDDLE

Type:
float
Value:
0.5                                                                   

RIGHT

Type:
float
Value:
1.0                                                                   

TOP

Type:
float
Value:
0.0                                                                   

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