Name
HList
- tixHList
pathName
[option value
...] The
tixHList
command creates a new tixHList widget namedpathName
. A tixHList is used to display any data that has a hierarchical structure (e.g., filesystem directory trees)
Standard Options
-background | -borderwidth | -cursor |
-font | -foreground | -highlightbackground |
-highlightcolor | -highlightthickness | -padx |
-pady | -relief | -selectbackground |
-selectborderwidth | -selectfor eground | -takefocus |
-xscrollcommand | -yscr ollcommand |
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.
- -columns
integer
(columns
,Columns
) Number of columns in the tixHList. Can be set at creation only. Column numbering begins at 0. List entries alway appear in column 0. Arbitrary display items can be placed in the columns to the right of an entry (e.g., file sizes and owner’s name).
- -command
tclCommand
(command
,Command
) Command to call whenever the user browses an entry (usually by a single click). The pathName of the entry is appended as an argument.
- -drawbranch
boolean
(drawBranch
,DrawBranch
) Whether branch lines should be drawn to connect list entries to their parents.
- -header
boolean
(header
,Header
) Whether headers should be displayed at the top of each column.
- -height
amount
(height
,Height
) Height for the window in lines of characters.
- -indent
amount
(indent
,Indent
) Horizontal indentation between a list entry and its children.
- -indicator
boolean
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.