HappyDoc Generated Documentation Class: pwButton

widget.py / pwButton 

Button widget class
Widgets for simple buttons

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:

  • label: the text label on the button
  • image: if present, this is an image that will replace the default button representation
  • alt: if an image is used, this is the alternate text that will be displayed on browsers that do not support images
  • onclick: special javascript function to execute when the button is selected
  • type: the button "type". May be one of: submit, reset, or button
  • value: the value recorded by the button when it is selected
  • name: the name of the button for forms processing

Default divClass: pwButton

Base Classes   

pwButton
  pyWidget

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

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