HappyDoc Generated Documentation Class: pwParagraph

widget.py / pwParagraph 

Paragraph widget class
Creates a widget for simple paragraphs with optional captions, etc.

Argument:

  • text: the text to be displayed as part of this paragraph

Common Keywords:

  • divClass: allows the user to override the class of the
  • fieldSpecial: allows the user to add "special" HTML attributes to the output element
  • id: overrides the HTML "id" attribute
  • selectable: controls whether this field is selectable or not
  • inputType: mostly for internal use -- overrides the type designation in the output hidden fields

Keywords:

  • caption: caption text to pass to the caption widget
  • help: help href to pass to the caption widget

Default divClass: pwParagraph

Base Classes   

pwParagraph
  pyWidget

Methods   
  display 
display ( self,  lvl )

Display routine If we have no caption, just use a

. If we have a caption, we really need to wrap the whole thing in a div

  __init__ 
__init__ (
        self,
        text,
        **kwlist,
        )

This document was automatically generated Tue Sep 21 18:50:53 2004 by HappyDoc version 3.0.a1