Variants of TixHList
TixCheckList:
tixCheckList .h -options
set hlist [.h subwidget hlist]
foreach dir {/ /dev /usr /usr/local /var} {
$hlist add $dir -itemtype imagetext \
-text $dir
}
.h setstauts / off
.h setstauts /dev on
.h setstauts /var default
...
To get user’s input:
set selected [.h getstatus on]