equal
deleted
inserted
replaced
23 |
23 |
24 self.top.add(win) |
24 self.top.add(win) |
25 |
25 |
26 def apply_theme(self): |
26 def apply_theme(self): |
27 Application.apply_theme(self) |
27 Application.apply_theme(self) |
28 self.driver.setcolor('test-blink', 'cyan on blue, blink') |
28 self.driver.defcolor('test-blink', 'cyan on blue, blink') |
29 self.driver.setcolor('test-bold', 'cyan on blue, bold') |
29 self.driver.defcolor('test-bold', 'cyan on blue, bold') |
30 self.driver.setcolor('test-standout', 'cyan on blue, standout') |
30 self.driver.defcolor('test-standout', 'cyan on blue, standout') |
31 self.driver.setcolor('test-underline', 'cyan on blue, underline') |
31 self.driver.defcolor('test-underline', 'cyan on blue, underline') |
32 |
32 |
33 def on_top_keypress(self, ev): |
33 def on_top_keypress(self, ev): |
34 if ev.keyname == 'escape': |
34 if ev.keyname == 'escape': |
35 self.terminate() |
35 self.terminate() |
36 return True |
36 return True |