From 65b6856dc74bf2ea55f86784e4b76734a88c8771 Mon Sep 17 00:00:00 2001 From: lecoanet Date: Thu, 11 May 2000 13:37:04 +0000 Subject: *** empty log message *** --- sandbox/testshape.tcl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 sandbox/testshape.tcl (limited to 'sandbox/testshape.tcl') diff --git a/sandbox/testshape.tcl b/sandbox/testshape.tcl new file mode 100644 index 0000000..424d057 --- /dev/null +++ b/sandbox/testshape.tcl @@ -0,0 +1,20 @@ +#!/usr/bin/wish -f + +load tkzinc3.1.so + +set top 1 + +set r [zinc .r] +pack $r -expand t -fill both +$r configure -width 800 -height 500 + +set view [$r add group $top] + +set tab1 [$r add tabular $view 10 -position "100 100" -labelformat "100x30"] +set tab2 [$r add tabular $view 10 -position "100 150" -labelformat "100x30"] +set tab3 [$r add tabular $view 10 -connecteditem $tab2 -labelformat "100x30"] + +$r itemconfigure $tab1 0 -text "tab1" +$r itemconfigure $tab2 0 -text "tab2" +$r itemconfigure $tab3 0 -text "tab3" + -- cgit v1.1