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.
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.
|
|