Table of Contents

Class: MCScrolledListBox PmwContribD-r2_0_1/MCScrolledListBox.py

Multi-column scrolled list box.

Options

columns

The number of columns to be created.

dblclickcommand

Function to be called when user double clicks on a list entry.

selectioncommand

Function to be called when the user selects something in the list.

Base Classes   
Pmw.ScrolledFrame
Methods   
__init__
addColumn
curselection
get
getcurselection
setlists
  __init__ 
__init__ (
        self,
        parent=None,
        **kw,
        )

  addColumn 
addColumn (
        self,
        label='Column',
        relief=RAISED,
        bd=1,
        expand=YES,
        width=None,
        )

Adds a column to the widget when it is created.

  curselection 
curselection ( self )

Returns the current selection range.

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

Returns the values currently selected.

  getcurselection 
getcurselection ( self )

Returns the values currently selected.

  setlists 
setlists ( self,  itemlists )

Set the contents of the widget. Takes a sequence of lists.


Table of Contents

This document was automatically generated on Mon Sep 17 17:47:46 2001 by HappyDoc version r2_0