/ . / CGLtk / color / ColorWell.py / ColorWell
holds an RGBA color, but deals with Tk colors
Methods
|
|
|
activate
|
activate (
self,
exclusive=1,
notifyPanel=1,
)
|
|
deactivate
|
deactivate ( self, notifyPanel=1 )
|
|
edgeClick
|
edgeClick ( self, event )
|
|
showColor
|
showColor (
self,
color=None,
multiple=0,
notifyPanel=1,
doCallback=1,
)
Exceptions
|
|
ValueError, 'Attempt to show None in' ' color well not so configured'
|
|
|
__getattr__
|
__getattr__ ( self, name )
Exceptions
|
|
AttributeError, "No color in well"
AttributeError, "Multiple colors in well"
AttributeError, "Unknown attribute '%s'" % name
|
|
|
destroy
|
destroy (
self,
*args,
*kw,
)
|
|
__init__
|
__init__ (
self,
parent,
color=None,
width=38,
height=38,
callback=None,
noneOkay=0,
multiple=0,
wantAlpha=1,
)
|
|
|