Next / Previous / Contents / TCC Help System / NM Tech homepage

15.5. Adjuster.isText(): Which color is being displayed?

This method is a predicate that returns True if the text color is currently being displayed in the ColorSliders widget, False if the background color is being displayed.

The actual state lives inside the ColorReadout widget, so this method interrogates that widget for the value. See Section 16.1, “ColorReadout.isText(): Which color are we displaying?”.

huey
# - - -   A d j u s t e r . i s T e x t

    def isText ( self ):
        """Is self displaying the text color?
        """
        return  self.__colorReadout.isText()