diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2020-07-22 20:06:54 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2020-07-22 20:06:54 (GMT) |
commit | 562a649a1f5145e6563ca33766d5030c17782006 (patch) | |
tree | 9dae88caa104812b1a3bc0941901a37fd39c8748 /tests/legend.tcl | |
parent | 7f27a43cedb771534c895921dd84eede4cd48874 (diff) | |
download | blt-562a649a1f5145e6563ca33766d5030c17782006.zip blt-562a649a1f5145e6563ca33766d5030c17782006.tar.gz blt-562a649a1f5145e6563ca33766d5030c17782006.tar.bz2 |
fix tkblt tests
Diffstat (limited to 'tests/legend.tcl')
-rw-r--r-- | tests/legend.tcl | 178 |
1 files changed, 89 insertions, 89 deletions
diff --git a/tests/legend.tcl b/tests/legend.tcl index dba8da0..98597bd 100644 --- a/tests/legend.tcl +++ b/tests/legend.tcl @@ -1,100 +1,100 @@ source base.tcl set w .line -set graph [bltLineGraph $w] +set bltgr [bltLineGraph $w] -$graph legend selection set data2 -$graph legend focus data1 -$graph legend configure -selectrelief groove +$bltgr legend selection set data2 +$bltgr legend focus data1 +$bltgr legend configure -selectrelief groove puts stderr "Testing Legend..." -#bltTest2 $graph legend -activebackground $dops -#bltTest2 $graph legend -activeborderwidth $dops -#bltTest2 $graph legend -activeforeground $dops -#bltTest2 $graph legend -activerelief $dops -bltTest2 $graph legend -anchor nw $dops -bltTest2 $graph legend -anchor n $dops -bltTest2 $graph legend -anchor ne $dops -bltTest2 $graph legend -anchor e $dops -bltTest2 $graph legend -anchor se $dops -bltTest2 $graph legend -anchor s $dops -bltTest2 $graph legend -anchor sw $dops -bltTest2 $graph legend -anchor w $dops -bltTest2 $graph legend -bg pink $dops -bltTest2 $graph legend -background cyan $dops -bltTest2 $graph legend -borderwidth 20 $dops -bltTest2 $graph legend -bd 20 $dops -bltTest2 $graph legend -columns 2 $dops -#bltTest2 $graph legend -exportselection $dops -bltTest2 $graph legend -focusdashes "8 3" $dops -bltTest2 $graph legend -focusforeground red $dops -bltTest2 $graph legend -font {times 18 bold italic} $dops -bltTest2 $graph legend -fg yellow $dops -bltTest2 $graph legend -foreground purple $dops -bltTest2 $graph legend -hide yes $dops -bltTest2 $graph legend -ipadx 20 $dops -bltTest2 $graph legend -ipady 20 $dops -#bltTest2 $graph legend -nofocusselectbackground $dops -#bltTest2 $graph legend -nofocusselectforeground $dops -bltTest2 $graph legend -padx 20 $dops -bltTest2 $graph legend -pady 20 $dops -bltTest2 $graph legend -position rightmargin $dops -bltTest2 $graph legend -position leftmargin $dops -bltTest2 $graph legend -position topmargin $dops -bltTest2 $graph legend -position bottommargin $dops -bltTest2 $graph legend -position plotarea $dops -bltTest2 $graph legend -position xy $dops -bltTest2 $graph legend -x 250 $dops -bltTest2 $graph legend -y 100 $dops -bltTest2 $graph legend -raised yes $dops -bltTest2 $graph legend -relief flat $dops -bltTest2 $graph legend -relief groove $dops -bltTest2 $graph legend -relief raised $dops -bltTest2 $graph legend -relief ridge $dops -bltTest2 $graph legend -relief solid $dops -bltTest2 $graph legend -relief sunken $dops -bltTest2 $graph legend -rows 1 $dops -#bltTest2 $graph legend -selectbackground $dops -bltTest2 $graph legend -selectborderwidth 3 $dops -#bltTest2 $graph legend -selectcommand $dops -#bltTest2 $graph legend -selectforeground $dops -#bltTest2 $graph legend -selectmode $dops -bltTest2 $graph legend -selectrelief flat $dops -bltTest2 $graph legend -title "Hello World" $dops -bltTest2 $graph legend -titlecolor red $dops -bltTest2 $graph legend -titlefont {times 24 bold italic} $dops +#bltTest2 $bltgr legend -activebackground $dops +#bltTest2 $bltgr legend -activeborderwidth $dops +#bltTest2 $bltgr legend -activeforeground $dops +#bltTest2 $bltgr legend -activerelief $dops +bltTest2 $bltgr legend -anchor nw $dops +bltTest2 $bltgr legend -anchor n $dops +bltTest2 $bltgr legend -anchor ne $dops +bltTest2 $bltgr legend -anchor e $dops +bltTest2 $bltgr legend -anchor se $dops +bltTest2 $bltgr legend -anchor s $dops +bltTest2 $bltgr legend -anchor sw $dops +bltTest2 $bltgr legend -anchor w $dops +bltTest2 $bltgr legend -bg pink $dops +bltTest2 $bltgr legend -background cyan $dops +bltTest2 $bltgr legend -borderwidth 20 $dops +bltTest2 $bltgr legend -bd 20 $dops +bltTest2 $bltgr legend -columns 2 $dops +#bltTest2 $bltgr legend -exportselection $dops +bltTest2 $bltgr legend -focusdashes "8 3" $dops +bltTest2 $bltgr legend -focusforeground red $dops +bltTest2 $bltgr legend -font {times 18 bold italic} $dops +bltTest2 $bltgr legend -fg yellow $dops +bltTest2 $bltgr legend -foreground purple $dops +bltTest2 $bltgr legend -hide yes $dops +bltTest2 $bltgr legend -ipadx 20 $dops +bltTest2 $bltgr legend -ipady 20 $dops +#bltTest2 $bltgr legend -nofocusselectbackground $dops +#bltTest2 $bltgr legend -nofocusselectforeground $dops +bltTest2 $bltgr legend -padx 20 $dops +bltTest2 $bltgr legend -pady 20 $dops +bltTest2 $bltgr legend -position rightmargin $dops +bltTest2 $bltgr legend -position leftmargin $dops +bltTest2 $bltgr legend -position topmargin $dops +bltTest2 $bltgr legend -position bottommargin $dops +bltTest2 $bltgr legend -position plotarea $dops +bltTest2 $bltgr legend -position xy $dops +bltTest2 $bltgr legend -x 250 $dops +bltTest2 $bltgr legend -y 100 $dops +bltTest2 $bltgr legend -raised yes $dops +bltTest2 $bltgr legend -relief flat $dops +bltTest2 $bltgr legend -relief groove $dops +bltTest2 $bltgr legend -relief raised $dops +bltTest2 $bltgr legend -relief ridge $dops +bltTest2 $bltgr legend -relief solid $dops +bltTest2 $bltgr legend -relief sunken $dops +bltTest2 $bltgr legend -rows 1 $dops +#bltTest2 $bltgr legend -selectbackground $dops +bltTest2 $bltgr legend -selectborderwidth 3 $dops +#bltTest2 $bltgr legend -selectcommand $dops +#bltTest2 $bltgr legend -selectforeground $dops +#bltTest2 $bltgr legend -selectmode $dops +bltTest2 $bltgr legend -selectrelief flat $dops +bltTest2 $bltgr legend -title "Hello World" $dops +bltTest2 $bltgr legend -titlecolor red $dops +bltTest2 $bltgr legend -titlefont {times 24 bold italic} $dops -#bltCmd $graph legend activate -#bltCmd $graph legend bind -bltCmd $graph legend cget -fg -bltCmd $graph legend configure -bltCmd $graph legend configure -fg -#bltCmd $graph legend curselection -#bltCmd $graph legend deactivate -bltCmd $graph legend focus data1 -bltCmd $graph legend focus -#bltCmd $graph legend get anchor -#bltCmd $graph legend get current -#bltCmd $graph legend get first -#bltCmd $graph legend get last -#bltCmd $graph legend get end -#bltCmd $graph legend get next.row -#bltCmd $graph legend get next.column -#bltCmd $graph legend get previous.row -#bltCmd $graph legend get previous.column -#bltCmd $graph legend get @100,100 -#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 +#bltCmd $bltgr legend activate +#bltCmd $bltgr legend bind +bltCmd $bltgr legend cget -fg +bltCmd $bltgr legend configure +bltCmd $bltgr legend configure -fg +#bltCmd $bltgr legend curselection +#bltCmd $bltgr legend deactivate +bltCmd $bltgr legend focus data1 +bltCmd $bltgr legend focus +#bltCmd $bltgr legend get anchor +#bltCmd $bltgr legend get current +#bltCmd $bltgr legend get first +#bltCmd $bltgr legend get last +#bltCmd $bltgr legend get end +#bltCmd $bltgr legend get next.row +#bltCmd $bltgr legend get next.column +#bltCmd $bltgr legend get previous.row +#bltCmd $bltgr legend get previous.column +#bltCmd $bltgr legend get @100,100 +#bltCmd $bltgr legend get data1 +bltCmd $bltgr legend selection anchor data1 +bltCmd $bltgr legend selection mark data1 +bltCmd $bltgr legend selection includes data2 +bltCmd $bltgr legend selection present +bltCmd $bltgr legend selection set data1 data2 +bltCmd $bltgr legend selection clear data1 data2 +bltCmd $bltgr legend selection set data1 data2 +bltCmd $bltgr legend selection toggle data1 data2 +bltCmd $bltgr legend selection set data1 data2 +bltCmd $bltgr legend selection clearall puts stderr "done" bltPlotDestroy $w |