/ widget.py / pwThreeColumn
- pwThreeColumn
- Lays out content with a Caption, Content, and Example in three columns using either
css only or css+tables. pwThreeColumn is primarily used as a base class, but may be called directly
Arguments:
- contentW: the widget to be displayed in the "content" pane of the three columns
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: the caption to be displayed in the "caption" area of the three columns. This may be
either text or a widget.
- help: help HREF associated with the caption
- example: the example to be displayed in the "example" area of the three columns. This may be either
text or a widget.
- layout: directs which layout approach to take: pure css or table + css
- layoutID: the ID to associate with the layout. Allows for different ID's between layout and content widgets.
- idArg: overrides the widget id
- visibility: is this widget visible? Used to allow content to "appear" depending on the action of other widgets.
Default divClass: pwThreeColumn
Methods
|
|
|
display
|
display ( self, lvl )
|
|
__init__
|
__init__ (
self,
contentW,
**kwlist,
)
|
|
|