Package Ganga :: Package Utility :: Module ColourText :: Class Background
[hide private]
[frames] | no frames]

Class Background

source code

Class for creating objects carrying ANSI codes for changing text background colour. The defined colours are:

black, blue, cyan, green, orange, magenta, red, white.

In all cases, the text foregreound colour is the terminal default (usually black or white).

Instance Methods [hide private]
 
__init__(self)
Set ANSI codes for defined colours
source code