Shorthand access to the color table scheme selector method.
(self, *args, **kw)
| 552 | return message |
| 553 | |
| 554 | def set_colors(self, *args, **kw): |
| 555 | """Shorthand access to the color table scheme selector method.""" |
| 556 | |
| 557 | # Set own color table |
| 558 | self.color_scheme_table.set_active_scheme(*args, **kw) |
| 559 | # for convenience, set Colors to the active scheme |
| 560 | self.Colors = self.color_scheme_table.active_colors |
| 561 | # Also set colors of debugger |
| 562 | if hasattr(self, 'pdb') and self.pdb is not None: |
| 563 | self.pdb.set_colors(*args, **kw) |
| 564 | |
| 565 | def color_toggle(self): |
| 566 | """Toggle between the currently active color scheme and NoColor.""" |
no test coverage detected