/ widget.py / pwGroup
- Group widget class
- A group widget is a container that groups multiple widgets together. It may also be a
"collapsing" group that has controls to expose or hide the internal contents
Arguments:
- objList: the list of widgets to be displayed within this group
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: A text caption for the group
- help: HREF associated with the caption
- collapse: if "true" this is a collapsing group
- collapsed: if "true" this is collapsed
- obj: an object reference to hold the state of the collapsing group (collapsed vs. open)
- attr: an attribute name to hold the state of the collapsing group
Default divClass: pwGroup
Methods
|
|
|
display
|
display ( self, lvl )
|
|
__init__
|
__init__ (
self,
objList,
**kwlist,
)
|
|
|