This cascade is slightly more involved because it has a second-level cascade in it.
def __cascadeViewing ( self, menu ): """Add the help cascade for viewing colors [ menu is a Menu widget -> menu := menu with choices added for help topics about viewing colors ] """
First we create a new cascade and add it to the parent
#-- 1 -- # [ menu := menu with a new cascade added # select := that cascade ] select = Menu ( menu ) menu.add_cascade ( menu=select, label="Viewing colors and fonts" )
#-- 2 -- # [ select := select with a pop-up added about the # color swatch ] select.add_command ( command=self.__helpSwatch, label="The color swatch" ) #-- 3 -- # [ select := select with a cascade added for font help ] self.__cascadeFonts ( select )