| Home | Trees | Index | Help |
|
|---|
| Module eagle :: Class Selection |
|
object--+ |_EGObject--+ |_EGWidget--+ |_EGDataWidget--+ |_EGWidLabelEntry--+ | Selection
Selection box (aka Combo box).
Selection or combo box is an element that allow you to select one of various pre-defined values.| Method Summary | |
|---|---|
Selection constructor. | |
__contains__(self,
value)
| |
Same as append | |
Same as remove | |
__len__(self)
| |
__setup_connections__(self)
| |
__setup_gui__(self)
| |
Append new value to available options. | |
Get data from this widget. | |
Insert new option at position. | |
Returns every item/option in this selection. | |
Returns every item/option in this selection. | |
Prepend new value to available options. | |
Remove given value from available options. | |
Set data to this widget. | |
| Inherited from _EGWidLabelEntry | |
| |
| |
| Inherited from _EGWidget | |
Return a tuple with ( horizontal, vertical ) resize mode | |
Return a list of internal widgets this Eagle widget contains. | |
Make widget invisible. | |
Set the widget as active. | |
Same as set_active( False ) | |
Make widget visible. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
| Property Summary | |
|---|---|
active | |
| Inherited from _EGWidLabelEntry | |
label | |
| Inherited from _EGWidget | |
app | |
| Inherited from _EGObject | |
id | |
| Class Variable Summary | |
|---|---|
| Inherited from _EGDataWidget | |
bool |
persistent = False
|
| Method Details |
|---|
__init__(self,
id,
label='',
options=None,
active=None,
callback=None,
persistent=False)
Selection constructor.
|
__iadd__(self, value)Same asappend
|
__isub__(self, value)Same asremove
|
append(self, value, set_active=False)Append new value to available options.
|
get_value(self)Get data from this widget.
|
insert(self, position, value)Insert new option at position.
|
items(self)Returns every item/option in this selection. |
options(self)Returns every item/option in this selection. |
prepend(self, value)Prepend new value to available options.
|
remove(self, value)Remove given value from available options.
|
set_value(self, value)Set data to this widget.
|
| Property Details |
|---|
active
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Apr 27 16:28:55 2006 | http://epydoc.sf.net |