summaryrefslogtreecommitdiffstats
path: root/tests/legend.tcl
diff options
context:
space:
mode:
authorjoye <joye>2014-02-19 22:05:14 (GMT)
committerjoye <joye>2014-02-19 22:05:14 (GMT)
commit3235bb172a71442d0d0704ef4ce6f269a050c79f (patch)
tree6bbfb6437a52b6bfbc127e8f4c518436d8a28e12 /tests/legend.tcl
parent515702b8eeee7c2b8d7342e893ca8bcfb59537fc (diff)
downloadblt-3235bb172a71442d0d0704ef4ce6f269a050c79f.zip
blt-3235bb172a71442d0d0704ef4ce6f269a050c79f.tar.gz
blt-3235bb172a71442d0d0704ef4ce6f269a050c79f.tar.bz2
*** empty log message ***
Diffstat (limited to 'tests/legend.tcl')
-rw-r--r--tests/legend.tcl34
1 files changed, 18 insertions, 16 deletions
diff --git a/tests/legend.tcl b/tests/legend.tcl
index b3cffdf..85edeca 100644
--- a/tests/legend.tcl
+++ b/tests/legend.tcl
@@ -1,6 +1,6 @@
source base.tcl
-set w .lgd
+set w .line
set graph [bltLineGraph $w]
#bltTest2 $graph legend -activebackground
@@ -45,21 +45,23 @@ bltTest2 $graph legend -title "Hello World"
##bltTest2 $graph legend -titlecolor red
bltTest2 $graph legend -titlefont "times 24 bold italic"
-#$graph active
-#$graph bind
-#$graph curselection
-#$graph deactive
-#$graph focus
-#$graph get
-#$graph selection anchor
-#$graph selection clear
-#$graph selection clearall
-#$graph selection includes
-#$graph selection mark
-#$graph selection present
-#$graph selection set
-#$graph selection toggle
+#bltCmd $graph legend active
+#bltCmd $graph legend bind
+#bltCmd $graph legend curselection
+#bltCmd $graph legend deactive
+bltCmd $graph legend focus data1
+bltCmd $graph legend get data1
+bltCmd $graph legend selection anchor data1
+bltCmd $graph legend selection mark data1
+bltCmd $graph legend selection includes data2
+bltCmd $graph legend selection present
+bltCmd $graph legend selection set data1 data2
+bltCmd $graph legend selection clear data1 data2
+bltCmd $graph legend selection set data1 data2
+bltCmd $graph legend selection toggle data1 data2
+bltCmd $graph legend selection set data1 data2
+bltCmd $graph legend selection clearall
echo "done"
-#bltPlotDestroy $w
+bltPlotDestroy $w