(self, event=None)
Update update both screen samples with the font settings.

        Called on font initialization and change events.
        Accesses font_name, font_size, and font_bold Variables.
        Updates font_sample and highlight page highlight_sample.
Update update both screen samples with the font settings.
Update update both screen samples with the font settings .
def set_samples(self, event=None):
        """Update update both screen samples with the font settings.

        Called on font initialization and change events.
        Accesses font_name, font_size, and font_bold Variables.
        Updates font_sample and highlight page highlight_sample.
        """
        font_name = self.font_name.get()
        font_weight = tkfont.BOLD if self.font_bold.get() else tkfont.NORMAL
        new_font = (font_name, self.font_size.get(), font_weight)
        self.font_sample['font'] = new_font
        self.highlight_sample['font'] = new_font
def set_samples ( self , event = None ) : font_name = self . font_name . get ( ) font_weight = tkfont . BOLD if self . font_bold . get ( ) else tkfont . NORMAL new_font = ( font_name , self . font_size . get ( ) , font_weight ) self . font_sample [ 'font' ] = new_font self . highlight_sample [ 'font' ] = new_font