Lib/idlelib/configdialog.py
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 display to selection.
        """
        font = self.fontlist.get(ANCHOR if event.type == 3 else ACTIVE)
        self.font_name.set(font.lower())
        self.set_font_sample()
Handle selecting a font from the list.

        Event can result from either mouse click or Up or Down key.
        Set font_name and example display to selection.
        
Handle selecting a font from the list.
Event can result from either mouse click or Up or Down key.
Set font_name and example display to selection.
Handle selecting a font from the list . Event can result from either mouse click or Up or Down key . Set font_name and example display to selection .
def on_fontlist_select(self, event):
        font = self.fontlist.get(ANCHOR if event.type == 3 else ACTIVE)
        self.font_name.set(font.lower())
        self.set_font_sample()
def on_fontlist_select ( self , event ) : font = self . fontlist . get ( ANCHOR if event . type == 3 else ACTIVE ) self . font_name . set ( font . lower ( ) ) self . set_font_sample ( )
Handle selecting a font from the list.
Handle selecting a font from the list .
"""Handle selecting a font from the list.

        Event can result from either mouse click or Up or Down key.
        Set font_name and example display to selection.
        """
self
event