Table of Contents

Class: ScrolledListBox bkchem/Pmw.py
Base Classes   
MegaWidget
Methods   
__init__
_configureScrollCommands
_handleEvent
_hscrollMode
_scrollBothLater
_scrollBothNow
_scrollXNow
_scrollYNow
_toggleHorizScrollbar
_toggleVertScrollbar
_vscrollMode
bbox
clear
destroy
get
getcurselection
getvalue
setlist
setvalue
size
  __init__ 
__init__ (
        self,
        parent=None,
        **kw,
        )

  _configureScrollCommands 
_configureScrollCommands ( self )

If both scrollmodes are not dynamic we can save a lot of time by not having to create an idle job to handle the scroll commands.

  _handleEvent 
_handleEvent (
        self,
        event,
        eventType,
        )

  _hscrollMode 
_hscrollMode ( self )

The horizontal scroll mode has been configured.

Exceptions   
ValueError, message
  _scrollBothLater 
_scrollBothLater (
        self,
        first,
        last,
        )

Called by the listbox to set the horizontal or vertical scrollbar when it has scrolled or changed size or contents.

  _scrollBothNow 
_scrollBothNow ( self )

  _scrollXNow 
_scrollXNow (
        self,
        first,
        last,
        )

  _scrollYNow 
_scrollYNow (
        self,
        first,
        last,
        )

  _toggleHorizScrollbar 
_toggleHorizScrollbar ( self )

  _toggleVertScrollbar 
_toggleVertScrollbar ( self )

  _vscrollMode 
_vscrollMode ( self )

The vertical scroll mode has been configured.

Exceptions   
ValueError, message
  bbox 
bbox ( self,  index )

Need to explicitly forward this to override the stupid (grid_)bbox method inherited from Tkinter.Frame.Grid.

  clear 
clear ( self )

  destroy 
destroy ( self )

  get 
get (
        self,
        first=None,
        last=None,
        )

Override Tkinter.Listbox get method, so that if it is called with no arguments, return all list elements (consistent with other widgets).

  getcurselection 
getcurselection ( self )

  getvalue 
getvalue ( self )

  setlist 
setlist ( self,  items )

  setvalue 
setvalue ( self,  textOrList )

Exceptions   
ValueError, 'no such item "%s"' % item
ValueError, 'no such item "%s"' % textOrList
  size 
size ( self )

Need to explicitly forward this to override the stupid (grid_)size method inherited from Tkinter.Frame.Grid.


Table of Contents

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