• Home
  • Raw
  • Download

Lines Matching full:theme

303         # Use builtin theme with no user themes created.
315 # Builtin theme with non-empty user theme list.
325 # Use custom theme.
327 idleConf.SetOption('main', 'Theme', 'default', '0')
347 eq(mainpage, {'Theme': {'default': 'True'}})
355 self.assertEqual(mainpage, {'Theme': {'default': 'False'}})
366 idleConf.SetOption('main', 'Theme', 'name', 'spam')
368 eq(mainpage, {'Theme': {'name': 'IDLE Classic',
370 eq(d.theme_message['text'], 'New theme, see Help')
375 idleConf.SetOption('main', 'Theme', 'name', 'IDLE New')
377 eq(mainpage, {'Theme': {'name2': 'IDLE Dark'}})
378 eq(d.theme_message['text'], 'New theme, see Help')
384 eq(mainpage, {'Theme': {'name': 'IDLE Classic', 'name2': ''}})
393 self.assertNotIn('Theme', mainpage)
399 self.assertEqual(mainpage, {'Theme': {'name': 'c'}})
503 # Builtin theme selected.
510 # Custom theme selected.
542 # Default theme.
546 # No theme name selected therefore color not saved.
551 # Theme name selected.
552 gntn.result = 'My New Theme'
557 # Custom theme.
584 sn.result = 'New Theme'
585 self.assertEqual(d.get_new_theme_name(''), 'New Theme')
600 gntn.result = 'my new theme'
612 # Use default as previously active theme.
615 first_new = 'my new custom theme'
616 second_new = 'my second custom theme'
628 # Test that changed targets are in new theme.
689 # Create custom theme based on IDLE Dark.
692 theme = 'IDLE Test'
693 page.create_new(theme)
696 # Base theme with nothing in `changes`.
706 changes.add_option('highlight', theme, 'console-'+key, value)
722 theme_name = 'spam theme'
726 theme_name2 = 'other theme'
730 # Force custom theme.
757 # Confirm deletion of second theme - empties list.