(self)
Update the sidebar text colors, usually after config changes.
Update the sidebar text colors, usually after config changes.
Update the sidebar text colors usually after config changes .
def update_colors(self):
        """Update the sidebar text colors, usually after config changes."""
        colors = idleConf.GetHighlight(idleConf.CurrentTheme(), 'linenumber')
        foreground = colors['foreground']
        background = colors['background']
        self.sidebar_text.config(
            fg=foreground, bg=background,
            selectforeground=foreground, selectbackground=background,
            inactiveselectbackground=background,
        )
def update_colors ( self ) : colors = idleConf . GetHighlight ( idleConf . CurrentTheme ( ) , 'linenumber' ) foreground = colors [ 'foreground' ] background = colors [ 'background' ] self . sidebar_text . config ( fg = foreground , bg = background , selectforeground = foreground , selectbackground = background , inactiveselectbackground = background , )