Name
TList
- tixTList
pathName
[option value
...] The tixTList command creates a new tixTList widget named
pathName
.
Standard Options
-background | -borderwidth | -cursor |
-font | -foreground | -highlightcolor |
-highlightthickness | -padx | -pady |
-relief | -selectbackground | -selectborderwidth |
-selectforeground | -takefocus | -xscrollcommand |
-yscrollcommand |
Widget-Specific Options
- -browsecmd
tclCommand
(browseCmd
,BrowseCmd
) Command to call whenever the user browses an entry (usually by a single click). The pathname of the entry is appended as an argument.
- -command
tclCommand
(command
,Command
) Command to call whenever the user browses an entry (usually by a double click). The pathname of the entry is appended as an argument.
- -height
amount
(height
,Height
) Height for the window in lines of characters.
- -itemtype
type
(itemType
,ItemType
) The default item type for a new entry. The default is
text
.- -orient
orient
(orient
,Orient
) Order for tabularizing the list entries.
Orient
may bevertical
(entries are arranged from top to bottom in columns) orhorizontal
(entries are arranged from left to right in rows).- -selectmode
mode
(selectMode
,SelectMode
) Specifies one of several styles understood by the default bindings for manipulation of the selection. Supported styles are
single
,browse
,multiple
, andextended
. Any arbitrary string is allowed, but the programmer must extend the bindings to support it.- -sizecmd
tclCommand
(sizeCmd
,SizeCmd
) Command to call whenever the tixTList changes its size.
- -state
state
(state
,State
) Whether tixTList ...
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.