This method is called when the user changes the position of any
of the color sliders in the ColorSliders widget.
It updates the ColorReadout to show the new
color. Then it calls this class's callback to inform external
observers that the displayed color has changed. See
Section 16.3, “ColorReadout.internalSet()”.
# - - - A d j u s t e r . _ _ s l i d e r H a n d l e r
def __sliderHandler ( self, color ):
"""Notify observers of a change in the color sliders.
"""
#-- 1 --
# [ self.__colorReadout := self.__colorReadout displaying
# color
self.__colorReadout.internalSet ( color )
#-- 2 --
if self.__callback is not None:
self.__callback ( self.isText(), color )