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 be vertical (entries are arranged from top to bottom in columns) or horizontal (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, and extended. 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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.