|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
_clear(self,
save_last=True)
Clear specified colors to None and save to last (if not None). |
source code
|
|
|
|
_decode_color(self)
Decode color to value from specified colors. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set(self)
Set (apply) all specified colors. |
source code
|
|
|
|
set_reset_color(self)
Save specified color to use for reset. |
source code
|
|
|
|
|
|
|
|
|
|
write(self,
s,
skip=False,
stream=None)
Colorized ouput string to stream. |
source code
|
|
|
|
writeln(self,
s='',
skip=False,
stream=None)
As write but add new line at end. |
source code
|
|
|
|
|
|
|
_bgbright
Use text bright.
|
|
|
_cbg
Background color.
|
|
|
_color_table
Color table.
|
|
|
_ctxt
Text color.
|
|
|
_isbg
If true then now set bg colors.
|
|
|
_last_bgbright
Previous bg brightness.
|
|
|
_last_cbg
Previous bg color.
|
|
|
_last_ctxt
Previous text color.
|
|
|
_last_txtbright
Previous text brightness.
|
|
|
_recomp
Compiled pattern for RE.
|
|
|
_reset_value
Color color value or None for use default.
|
|
|
_stream
stream for out colors.
|
|
|
_tag_table
Table for match colr strings to color index.
|
|
|
_txtbright
Use text bright.
|