gui_classes::Colour Class Reference

List of all members.

Public Member Functions

def __init__
def green
def red
def bold
def teal
def turquoise
def fuscia
def purple
def darkred
def darkblue
def blue
def darkgreen
def yellow
def brown

Static Public Attributes

dictionary color

Detailed Description

This class uses the ANSI escape sequences to color the output !

Definition at line 20 of file gui_classes.py.


Member Function Documentation

def gui_classes::Colour::__init__   self  ) 
 

Constructor 

Definition at line 37 of file gui_classes.py.

def gui_classes::Colour::blue   self,
  text
 

dye blue

Definition at line 97 of file gui_classes.py.

def gui_classes::Colour::bold   self,
  text
 

dye bold

Definition at line 55 of file gui_classes.py.

def gui_classes::Colour::brown   self,
  text
 

dye brown

Definition at line 115 of file gui_classes.py.

def gui_classes::Colour::darkblue   self,
  text
 

dye darkblue

Definition at line 91 of file gui_classes.py.

def gui_classes::Colour::darkgreen   self,
  text
 

dye darkgreen

Definition at line 103 of file gui_classes.py.

def gui_classes::Colour::darkred   self,
  text
 

dye darkred

Definition at line 85 of file gui_classes.py.

def gui_classes::Colour::fuscia   self,
  text
 

dye fuscia

Definition at line 73 of file gui_classes.py.

def gui_classes::Colour::green   self,
  text
 

dye green

Definition at line 43 of file gui_classes.py.

def gui_classes::Colour::purple   self,
  text
 

dye purple

Definition at line 79 of file gui_classes.py.

def gui_classes::Colour::red   self,
  text
 

dye red

Definition at line 49 of file gui_classes.py.

def gui_classes::Colour::teal   self,
  text
 

dye teal

Definition at line 61 of file gui_classes.py.

def gui_classes::Colour::turquoise   self,
  text
 

dye turquoise

Definition at line 67 of file gui_classes.py.

def gui_classes::Colour::yellow   self,
  text
 

dye yellow

Definition at line 109 of file gui_classes.py.


Member Data Documentation

dictionary gui_classes::Colour::color [static]
 

Initial value:

{"reset":"\x1b[0m",
            "bold":"\x1b[01m",
            "teal":"\x1b[36;06m",
            "turquoise":"\x1b[36;01m",
            "fuscia":"\x1b[35;01m",
            "purple":"\x1b[35;06m",
            "blue":"\x1b[34;01m",
            "darkblue":"\x1b[34;06m",
            "green":"\x1b[32;01m",
            "darkgreen":"\x1b[32;06m",
            "yellow":"\x1b[33;01m",
            "brown":"\x1b[33;06m",
            "red":"\x1b[31;01m",
            "darkred":"\x1b[31;06m"}

Definition at line 22 of file gui_classes.py.


The documentation for this class was generated from the following file:
Generated on Sun Mar 5 23:04:04 2006 for Virtualiser by  doxygen 1.4.6-NO