Package Ganga :: Package Utility :: Module strings :: Class ItemizedTextParagraph
[hide private]
[frames] | no frames]

Class ItemizedTextParagraph

source code

Format a paragraph with itemized text.

<------------------ width ------------->

Example: (*)
  (#)
  item1  (**)  description1
  (#)
  item2  (**)  description2 which is
               very long but breaks OK
  (#)
  item3  (**)

(*) is a head of the paragraph
(**) is a separator
(#) is a line separator

Instance Methods [hide private]
 
__init__(self, head, width=80, separator=' ', linesep=None) source code
 
addLine(self, item, description) source code
 
getString(self) source code