This method changes the color to the given value. The
actual color is stored inside the ColorReadout widget. See Section 16.2, “ColorReadout.set(): Change the displayed
color”.
# - - - A d j u s t e r . s e t
def set ( self, color ):
"""Change the currently displayed color.
"""
#-- 1 --
# [ self.__colorReadout := self.__colorReadout
# displaying color ]
self.__colorReadout.set ( color )
Also change the slider positions to reflect the new
color; see Section 18.2, “ColorSliders.setColor(): Change the
displayed color”.
#-- 2 --
# [ self.__colorSliders := self.__colorSliders
# displaying color ]
self.__colorSliders.setColor ( color )