summaryrefslogtreecommitdiffstats
path: root/demos/layout.tcl
diff options
context:
space:
mode:
authortreectrl <treectrl>2004-07-26 17:15:25 (GMT)
committertreectrl <treectrl>2004-07-26 17:15:25 (GMT)
commitb11d2de32f045d2100bbe7558487b064dd1df91e (patch)
tree796c51e2e54415870e0608670a95b03d98ecec3a /demos/layout.tcl
parentb8b42b5b19782001b38572e640fcfde40fcce987 (diff)
downloadtktreectrl-b11d2de32f045d2100bbe7558487b064dd1df91e.zip
tktreectrl-b11d2de32f045d2100bbe7558487b064dd1df91e.tar.gz
tktreectrl-b11d2de32f045d2100bbe7558487b064dd1df91e.tar.bz2
Use the new "column create" command and -defaultstyle widget option.
Diffstat (limited to 'demos/layout.tcl')
-rw-r--r--demos/layout.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/layout.tcl b/demos/layout.tcl
index f36da74..2e4f30e 100644
--- a/demos/layout.tcl
+++ b/demos/layout.tcl
@@ -8,7 +8,7 @@ proc DemoLayout {} {
$T configure -showroot no -showrootbutton yes -showbuttons yes \
-showlines yes -itemheight 0 -selectmode browse
- $T column configure 0 -text Layout
+ $T column create -text Layout
$T element create e1 rect -width 30 -height 30 -fill gray20
$T element create e2 rect -width 30 -height 30 -fill gray40 \