Exemplo n.º 1
0
 def set_font(self, font, option):
     """Set global font used in Spyder."""
     # Update fonts in all plugins
     set_font(font, option=option)
     plugins = self.main.widgetlist + self.main.thirdparty_plugins
     for plugin in plugins:
         plugin.update_font()
Exemplo n.º 2
0
 def set_font(self, font, option):
     """Set global font used in Spyder."""
     # Update fonts in all plugins
     set_font(font, option=option)
     plugins = self.main.widgetlist + self.main.thirdparty_plugins
     for plugin in plugins:
         plugin.update_font()