summaryrefslogtreecommitdiffstats
path: root/demos/random.tcl
diff options
context:
space:
mode:
authortreectrl <treectrl>2006-10-04 04:08:25 (GMT)
committertreectrl <treectrl>2006-10-04 04:08:25 (GMT)
commitd55cd8005142ffe55184f4b32c4ef65ce82ae957 (patch)
tree1c94f858f873585bc02982095a8512bb6030071c /demos/random.tcl
parent423236f6282a9bcf4462fb705f98c637933fded6 (diff)
downloadtktreectrl-d55cd8005142ffe55184f4b32c4ef65ce82ae957.zip
tktreectrl-d55cd8005142ffe55184f4b32c4ef65ce82ae957.tar.gz
tktreectrl-d55cd8005142ffe55184f4b32c4ef65ce82ae957.tar.bz2
Column -tag is now -tags (although -tag is still backwards-compatible).
Diffstat (limited to 'demos/random.tcl')
-rw-r--r--demos/random.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/random.tcl b/demos/random.tcl
index d58008f..81b799d 100644
--- a/demos/random.tcl
+++ b/demos/random.tcl
@@ -1,4 +1,4 @@
-# RCS: @(#) $Id: random.tcl,v 1.18 2006/09/24 22:58:50 treectrl Exp $
+# RCS: @(#) $Id: random.tcl,v 1.19 2006/10/04 04:08:25 treectrl Exp $
set RandomN 500
set RandomDepth 5
@@ -29,9 +29,9 @@ proc DemoRandom {} {
# Create columns
#
- $T column create -expand yes -text Item -itembackground {#e0e8f0 {}} -tag colItem
- $T column create -text Parent -justify center -itembackground {gray90 {}} -tag colParent
- $T column create -text Depth -justify center -itembackground {linen {}} -tag colDepth
+ $T column create -expand yes -text Item -itembackground {#e0e8f0 {}} -tags colItem
+ $T column create -text Parent -justify center -itembackground {gray90 {}} -tags colParent
+ $T column create -text Depth -justify center -itembackground {linen {}} -tags colDepth
$T configure -treecolumn colItem