(self, *params)
Process new custom theme selection.

        If a new custom theme is selected, add the name to the
        changed_items and apply the theme to the sample.
Process new custom theme selection.
Process new custom theme selection .
def var_changed_custom_name(self, *params):
        """Process new custom theme selection.

        If a new custom theme is selected, add the name to the
        changed_items and apply the theme to the sample.
        """
        value = self.custom_name.get()
        if value != '- no custom themes -':
            changes.add_option('main', 'Theme', 'name', value)
            self.paint_theme_sample()
def var_changed_custom_name ( self , * params ) : value = self . custom_name . get ( ) if value != '- no custom themes -' : changes . add_option ( 'main' , 'Theme' , 'name' , value ) self . paint_theme_sample ( )