/ widget.py / pwList
List widget class
- List widget class
- A widget that is used to display a list
Arguments:
- listItems: list of widgets to be displayed
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:
- type: the type of the list: either bullet or number. The default is bullet
- header: a possible header to display at the top of the list. This will be enclosed in a div with the class
pwListHeader.
Default divClass: pwList
Methods
|
|
|
display
|
display ( self, lvl )
|
|
__init__
|
__init__ (
self,
listItems,
**kwlist,
)
|
|
|