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

16.1. ColorReadout.isText(): Which color are we displaying?

This method returns True if the text color is selected, False otherwise. The actual state item that contains this choice is self.__isTextVar, a Tkinter IntVar control variable that is also linked to the Radiobuttonwidgets.

huey
# - - -   C o l o r R e a d o u t . i s T e x t

    def isText ( self ):
        """Is self showing the text color?
        """
        return  self.__isTextVar.get()