HappyDoc Generated Documentation Class: pwTab

widget.py / pwTab 

Tab widget class
A tab widget is very similar to a group widget. Its called with a list of objects and makes each object in the list a separate tab. The major difference is that pwTab is actually called with a list of tuples where the first values are the labels for each tab and second values are the list of objects that will actually render the content.

Arguments:

  • tabTuples: a list of tuples of the form (key, wList), where key is the name of the tab, and wList is the list of widgets that are displayed as part of this tab

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:

  • help: not currently used
  • selected: the key of the currently selected tab
  • disabled: a list of the keys of disabled tabs

Default divClass: pwTab

Base Classes   

pwTab
  pyWidget

Methods   
  display 
display ( self,  lvl )
  __init__ 
__init__ (
        self,
        tabTuples,
        **kwlist,
        )
Exceptions   

NoSuchObject


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