Specifies the order of tabularizing the list entries. When set to
"vertical", the entries are arranged in a column, from top to
bottom. If the entries cannot be contained in one column, the
remaining entries will go to the next column, and so on. When set to
"horizontal", the entries are arranged in a row, from left to
right. If the entries cannot be contained in one row, the remaining
entries will go to the next row, and so on.

Specifies one of several styles for manipulating the selection. The
value of the option may be arbitrary, but the default bindings expect
it to be either single, browse, multiple, or
extended; the default value is single.

Specifies whether the TList command should react to user actions. When
set to "normal", the TList reacts to user actions in the normal
way. When set to "disabled", the TList can only be scrolled, but
its entries cannot be selected or activated.

The tixTList command creates a new window (given by the
pathName argument) and makes it into a TList widget.
Additional options, described above, may be specified on the command
line or in the option database to configure aspects of the
TList widget such as its cursor and relief.

The TList widget can be used to display data in a tabular format. The
list entries of a TList widget are similar to the entries in the Tk
listbox widget. The main differences are (1) the TList widget can
display the list entries in a two dimensional format and (2) you can
use graphical images as well as multiple colors and fonts for
the list entries.

Each list entry is identified by an index, which can be in the
following forms:

Each list entry in an TList widget is associated with a display
item. The display item determines what visual information should
be displayed for this list entry. Please see the tixDisplayStyle manual
page for a list of all display items.

When a list entry is created by the insert command, the type of
its display item is determined by the -itemtype option passed
to these commands. If the -itemtype is omitted, then by default
the type specified by this TList widget's -itemtype option is
used.

The tixTList command creates a new Tcl command whose name is the
same as the path name of the TList widget's window. This command
may be used to invoke various operations on the widget. It has the
following general form:

pathName option ?arg arg ...?

PathName is the name of the command, which is the same as
the TList widget's path name. Option and the args
determine the exact behavior of the command. The following
commands are possible for TList widgets:

Query or modify the configuration options of the widget. If no
option is specified, returns a list describing all of the
available options for pathName (see Tk_ConfigureInfo for
information on the format of this list). If option is specified
with no value, then the command returns a list describing the
one named option (this list will be identical to the corresponding
sublist of the value returned if no option is specified). If
one or more option-value pairs are specified, then the command
modifies the given widget option(s) to have the given value(s); in
this case the command returns an empty string. Option may have
any of the values accepted by the tixTList command.

Sets the dragsite to the list entry identified by
index. The dragsite is used to indicate the source of a
drag-and-drop action. Currently drag-and-drop functionality has not
been implemented in Tix yet.

Sets the dropsite to the list entry identified by index. The
dropsite is used to indicate the target of a grag-and-drop
action. Currently drag-and-drop functionality has not been implemented
in Tix yet.

Query or modify the configuration options of the list entry indentfied
by index. If no option is specified, returns a list
describing all of the available options for index (see
Tk_ConfigureInfo for information on the format of this list). If
option is specified with no value, then the command
returns a list describing the one named option (this list will be
identical to the corresponding sublist of the value returned if no
option is specified). If one or more option-value pairs
are specified, then the command modifies the given option(s) to have
the given value(s); in this case the command returns an empty string.
Option may have any of the values accepted by the insert
widget command. The exact set of options depends on the
value of the -itemtype option passed to the the insert
widget command when this list entry is created.

Specifies the type of display item to be display for the new list
entry. type must be a valid display item type. Currently the
available display item types are image, imagetext,
text, and window. If this option is not specified, then by
default the type specified by this TList widget's -itemtype
option is used.

Specifies whether this entry can be selected or invoked by the user.
Must be either normal or disabled.

The insert widget command accepts additional configuration options
to configure the display item associated with this list entry. The set
of additional configuration options depends on the type of the display
item given by the -itemtype option. Please see the
tixDisplayStyle manual page for a list of the configuration options for
each of the display item types.

Adjust the view in the TList so that the entry given by index is
visible. If the entry is already visible then the command has no
effect; if the entry is near one edge of the window then the TList
scrolls to bring the element into view at the edge; otherwise the
TList widget scrolls to center the entry.

When no extra arguments are given, deselects all of the list entrie(s)
in this TList widget. When only from is given, only the list
entry identified by from is deselected. When both from and
to are given, deselects all of the list entrie(s) between
between from and to, inclusive, without affecting the
selection state of entries outside that range.

Selects all of the list entrie(s) between between from and
to, inclusive, without affecting the selection state of entries
outside that range. When only from is given, only the list entry
identified by from is selected.

Returns a list containing two elements. Each element is a real
fraction between 0 and 1; together they describe the horizontal span
that is visible in the window. For example, if the first element is .2
and the second element is .6, 20% of the TList entry is
off-screen to the left, the middle 40% is visible in the window, and
40% of the entry is off-screen to the right. These are the same values
passed to scrollbars via the -xscrollcommand option.

This command shifts the view in the window left or right according to
number and what. Number must be an integer.
What must be either units or pages or an
abbreviation of one of these. If what is units, the view
adjusts left or right by number character units (the width of
the 0 character) on the display; if it is pages then the
view adjusts by number screenfuls. If number is negative
then characters farther to the left become visible; if it is positive
then characters farther to the right become visible.

Returns a list containing two elements, both of which are real
fractions between 0 and 1. The first element gives the position of
the list element at the top of the window, relative to the TList as a
whole (0.5 means it is halfway through the TList, for example). The
second element gives the position of the list entry just after the
last one in the window, relative to the TList as a whole. These are
the same values passed to scrollbars via the -yscrollcommand
option.

Adjusts the view in the window so that the list entry given by
fraction appears at the top of the window. Fraction is a
fraction between 0 and 1; 0 indicates the first entry in the TList,
0.33 indicates the entry one-third the way through the TList, and so
on.

This command adjust the view in the window up or down according to
number and what. Number must be an integer.
What must be either units or pages. If what
is units, the view adjusts up or down by number lines; if
it is pages then the view adjusts by number screenfuls.
If number is negative then earlier entries become visible; if
it is positive then later entries become visible.

If the -selectmode is "browse", when the user drags the mouse
pointer over the list entries, the entry under the pointer will be
highlighted and the -browsecmd procedure will be called with
one parameter, the index of the highlighted entry. Only one entry
can be highlighted at a time. The -command procedure will be
called when the user double-clicks on a list entry.

[2]

If the -selectmode is "single", the entries will only be
highlighted by mouse <ButtonRelease-1> events. When a new list entry
is highlighted, the -browsecmd procedure will be called with
one parameter indicating the highlighted list entry. The
-command procedure will be called when the user double-clicks
on a list entry.

[3]

If the -selectmode is "multiple", when the user drags the mouse
pointer over the list entries, all the entries under the pointer will
be highlighted. However, only a contiguous region of list entries can
be selected. When the highlighted area is changed, the
-browsecmd procedure will be called with an undefined
parameter. It is the responsibility of the -browsecmd procedure
to find out the exact highlighted selection in the TList. The
-command procedure will be called when the user double-clicks
on a list entry.

[4]

If the -selectmode is "extended", when the user drags the mouse
pointer over the list entries, all the entries under the pointer will
be highlighted. The user can also make disjointed selections using
<Control-ButtonPress-1>. When the highlighted area is changed, the
-browsecmd procedure will be called with an undefined
parameter. It is the responsibility of the -browsecmd procedure
to find out the exact highlighted selection in the TList. The
-command procedure will be called when the user double-clicks
on a list entry.