parameters: (self, event)
docstring: 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.
docstring_summary: Handle selecting a font from the list.
docstring_tokens: Handle selecting a font from the list .
function: 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())
function_tokens: def on_fontlist_select ( self , event ) : font = self . fontlist . get ( ACTIVE if event . type . name == 'KeyRelease' else ANCHOR ) self . font_name . set ( font . lower ( ) )