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 ( red, green, blue ), each in 0-255 range. | |
| |
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 |
Instance Method Details |
---|
__init__(self,
id,
label='',
color=0,
callback=None,
persistent=False)
Color selector constructor.
|
get_value(self)Return a tuple with ( red, green, blue ), each in 0-255 range.
|
set_value(self, value)
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Dec 25 16:27:53 2005 | http://epydoc.sf.net |