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

16.8. ColorReadout.__radioHandler(): Radiobutton state change handler

When the user changes the state of the radiobuttons, we need to call the external callback function.

huey
# - - -   C o l o r R e a d o u t . _ _ r a d i o H a n d l e r

    def __radioHandler ( self ):
        """Handler for a change between text and background color.
        """
        if  self.__callback is not None:
            self.__callback ( )