parameters: (self, font)
docstring: Sets the default font for the header window and the main window.
  
          :param `font`: a valid :class:`Font` object.
docstring_summary: Sets the default font for the header window and the main window.
docstring_tokens: Sets the default font for the header window and the main window .
function: def SetFont(self, font):
          """
          Sets the default font for the header window and the main window.
  
          :param `font`: a valid :class:`Font` object.
          """
          
          if self._header_win:
              self._header_win.SetFont(font)
              self.CalculateAndSetHeaderHeight()
              self._header_win.Refresh()
          
          if self._main_win:
              return self._main_win.SetFont(font)
          else:
              return False
function_tokens: def SetFont ( self , font ) : if self . _header_win : self . _header_win . SetFont ( font ) self . CalculateAndSetHeaderHeight ( ) self . _header_win . Refresh ( ) if self . _main_win : return self . _main_win . SetFont ( font ) else : return False