(self, event)
Handle selecting a font from the list.

        Event can result from either mouse click or Up or Down key.
        Set font_name and example displays to selection.
Handle selecting a font from the list.
Handle selecting a font from the list .
def on_fontlist_select(self, event):
        """Handle selecting a font from the list.

        Event can result from either mouse click or Up or Down key.
        Set font_name and example displays to selection.
        """
        font = self.fontlist.get(
                ACTIVE if event.type.name == 'KeyRelease' else ANCHOR)
        self.font_name.set(font.lower())
def on_fontlist_select ( self , event ) : font = self . fontlist . get ( ACTIVE if event . type . name == 'KeyRelease' else ANCHOR ) self . font_name . set ( font . lower ( ) )