(self, theme, element)
return {"foreground": fore, "background": back}
Return dict of theme element highlight colors.

        The keys are 'foreground' and 'background'.  The values are
        tkinter color strings for configuring backgrounds and tags.
Return dict of theme element highlight colors.
Return dict of theme element highlight colors .
def GetHighlight(self, theme, element):
        """Return dict of theme element highlight colors.

        The keys are 'foreground' and 'background'.  The values are
        tkinter color strings for configuring backgrounds and tags.
        """
        cfg = ('default' if self.defaultCfg['highlight'].has_section(theme)
               else 'user')
        theme_dict = self.GetThemeDict(cfg, theme)
        fore = theme_dict[element + '-foreground']
        if element == 'cursor':
            element = 'normal'
        back = theme_dict[element + '-background']
        return {"foreground": fore, "background": back}
def GetHighlight ( self , theme , element ) : cfg = ( 'default' if self . defaultCfg [ 'highlight' ] . has_section ( theme ) else 'user' ) theme_dict = self . GetThemeDict ( cfg , theme ) fore = theme_dict [ element + '-foreground' ] if element == 'cursor' : element = 'normal' back = theme_dict [ element + '-background' ] return { "foreground" : fore , "background" : back }