/ widget.py / pwCaption
- Caption widget class
- A widget that can be used for simple text within a div, specifically for captions
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: text representing the caption label
- help: href pointing to a help page or cgi.
- widget: if this keyword is provided, the argument must point to a pyWidget which will be used to pull
the "caption", "required", and "help" attributes from
- required: if selected, this caption is associated with a required field, which will result in the caption
being styled differently (usually bolded)
Default divClass: pwCaption
Methods
|
|
|
display
|
display ( self, lvl )
|
|
__init__
|
__init__ ( self, **kwlist )
|
|
|