| Home | Trees | Index | Help |
|
|---|
| Module eagle :: Class Color |
|
object--+ |_EGObject--+ |_EGWidget--+ |_EGDataWidget--+ |_EGWidLabelEntry--+ | Color
Button to select colors.
It show current/last selected color and may pop-up a new dialog to select a new one.| Method Summary | |
|---|---|
Color selector constructor. | |
__setup_connections__(self)
| |
__setup_gui__(self)
| |
color_from(color)
(Static method) | |
Return a tuple with ( alpha, red, green, blue ) ( alpha, red, green, blue ) (use_alpha=True), each in 0-255 range. | |
| |
| 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 | |
|---|---|
callback | |
color | |
use_alpha | |
| Inherited from _EGWidLabelEntry | |
label | |
| Inherited from _EGWidget | |
app | |
| Inherited from _EGObject | |
id | |
| Class Variable Summary | |
|---|---|
| Inherited from _EGDataWidget | |
bool |
persistent = False
|
| Instance Method Details |
|---|
__init__(self,
id,
label='',
color=0,
use_alpha=False,
callback=None,
persistent=False)
Color selector constructor.
|
get_value(self)Return a tuple with ( alpha, red, green, blue ) ( alpha, red, green, blue ) (use_alpha=True), each in 0-255 range.
|
set_value(self, value)
|
| Property Details |
|---|
callback
|
color
|
use_alpha
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Apr 27 16:28:55 2006 | http://epydoc.sf.net |