summaryrefslogtreecommitdiffstats
path: root/demos/layout.tcl
diff options
context:
space:
mode:
authortreectrl <treectrl>2006-11-23 22:24:56 (GMT)
committertreectrl <treectrl>2006-11-23 22:24:56 (GMT)
commitba58be95010e7a8fef177ea8f96c408371f7d82d (patch)
tree0502a17ce9ecc1e154bb7f01b0406e3a590efa99 /demos/layout.tcl
parent0a730735d7727e045df33ef8be54ca434aa81143 (diff)
downloadtktreectrl-ba58be95010e7a8fef177ea8f96c408371f7d82d.zip
tktreectrl-ba58be95010e7a8fef177ea8f96c408371f7d82d.tar.gz
tktreectrl-ba58be95010e7a8fef177ea8f96c408371f7d82d.tar.bz2
Added [DemoList] command to get the name of the main list rather than hard-coding .f2.f1.t everywhere.
Diffstat (limited to 'demos/layout.tcl')
-rw-r--r--demos/layout.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/layout.tcl b/demos/layout.tcl
index d6628c4..2f96162 100644
--- a/demos/layout.tcl
+++ b/demos/layout.tcl
@@ -1,11 +1,11 @@
-# RCS: @(#) $Id: layout.tcl,v 1.11 2006/10/04 04:08:25 treectrl Exp $
+# RCS: @(#) $Id: layout.tcl,v 1.12 2006/11/23 22:24:56 treectrl Exp $
#
# Demo: Layout
#
proc DemoLayout {} {
- set T .f2.f1.t
+ set T [DemoList]
#
# Configure the treectrl widget