Table of Contents

Class: NoteBook bkchem/Pmw.py
Base Classes   
MegaArchetype
Methods   
__init__
_handleConfigure
_handleMap
_layout
_raiseNewTop
add
delete
getcurselection
index
insert
nextpage
page
pagenames
previouspage
recolorborders
selectpage
setnaturalsize
tab
  __init__ 
__init__ (
        self,
        parent=None,
        **kw,
        )

Exceptions   
ValueError, 'bad tabpos option %s: should be n or None' % repr( tabpos )
  _handleConfigure 
_handleConfigure ( self,  event )

  _handleMap 
_handleMap ( self,  event )

  _layout 
_layout ( self )

This is the vertical layout of the notebook, from top (assuming tabpos is n): hull highlightthickness (top) hull borderwidth (top) borderwidth (top border of tabs) borderwidth * 0.5 (space for bevel) tab button (maximum of requested height of all tab buttons) borderwidth (border between tabs and page) pagemargin (top) the page itself pagemargin (bottom) borderwidth (border below page) hull borderwidth (bottom) hull highlightthickness (bottom)

canvasBorder is sum of top two elements. tabBottom is sum of top five elements.

Horizontal layout (and also vertical layout when tabpos is None): hull highlightthickness hull borderwidth borderwidth pagemargin the page itself pagemargin borderwidth hull borderwidth hull highlightthickness

  _raiseNewTop 
_raiseNewTop ( self,  pageName )

  add 
add (
        self,
        pageName,
        **kw,
        )

  delete 
delete ( self,  *pageNames )

  getcurselection 
getcurselection ( self )

  index 
index (
        self,
        index,
        forInsert=0,
        )

Exceptions   
ValueError, 'NoteBook has no pages'
ValueError, 'bad index "%s": must be %s' %( index, validValues )
ValueError, 'index "%s" is out of range' % index
  insert 
insert (
        self,
        pageName,
        before=0,
        **kw,
        )

Exceptions   
KeyError, 'Unknown option "' + key + '"'
ValueError, msg
  nextpage 
nextpage ( self,  pageIndex=None )

  page 
page ( self,  pageIndex )

  pagenames 
pagenames ( self )

  previouspage 
previouspage ( self,  pageIndex=None )

  recolorborders 
recolorborders ( self )

  selectpage 
selectpage ( self,  page )

  setnaturalsize 
setnaturalsize ( self,  pageNames=None )

  tab 
tab ( self,  pageIndex )


Table of Contents

This document was automatically generated on Wed Jun 1 11:05:30 2005 by HappyDoc version 2.1