parameters: (self)
docstring: Update the text widgets' font if it is changed
docstring_summary: Update the text widgets' font if it is changed
docstring_tokens: Update the text widgets font if it is changed
function: def ResetFont(self):
          "Update the text widgets' font if it is changed"
          # Called from configDialog.py
          fontWeight='normal'
          if idleConf.GetOption('main','EditorWindow','font-bold',type='bool'):
              fontWeight='bold'
          self.text.config(font=(idleConf.GetOption('main','EditorWindow','font'),
                  idleConf.GetOption('main','EditorWindow','font-size',
                                     type='int'),
                  fontWeight))
function_tokens: def ResetFont ( self ) : # Called from configDialog.py fontWeight = 'normal' if idleConf . GetOption ( 'main' , 'EditorWindow' , 'font-bold' , type = 'bool' ) : fontWeight = 'bold' self . text . config ( font = ( idleConf . GetOption ( 'main' , 'EditorWindow' , 'font' ) , idleConf . GetOption ( 'main' , 'EditorWindow' , 'font-size' , type = 'int' ) , fontWeight ) )