summaryrefslogtreecommitdiffstats
path: root/tests/legend.tcl
blob: caa10ba304e69cba021c8c895b314ea2e7d0b9b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
source base.tcl

set w .line
set graph [bltLineGraph $w]

$graph legend selection set data2
$graph legend focus data1
$graph legend configure -selectrelief groove

echo "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 groove $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

#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

echo "done"
bltPlotDestroy $w