Contents   Class: doc_printer
<<Method: doc_printer.print_class_indices<<   >>Method: doc_printer.new_mode>>

Method: doc_printer.add_mode

Synopsis: add_mode( self, dest, context, mode_identifier )

This function simply adds a mode to the stack. However, it handles only those modes where simply adding to a current state is useful. These are currently the modes "code" and "verbatim".

context:
is an instance of class FormattingContext describing the current context of the documentation.
dest:
A specialization of class Formatter as destination for output.



Elements:

none

 

Generated by pymanual (c) 2005-2006 on August 02, 2006.