Contents   Class: doc_printer
<<Method: doc_printer.add_mode<<   >>Method: doc_printer.close_modes>>

Method: doc_printer.new_mode

Synopsis: new_mode( self, dest, context, new_mode )

This switches m_linemode . The method also closes open modes that are no longer needed. Therefore, the destination Formatter dest has to be known. This method can be used to generate modes "", "code" and "verbatim". "" means m_linemode [] .

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.