1 #!/home/people/tkys/Eos/util/ALPHALINUX5/bin/bltwish
9 image create photo label1 -file ./images/mini-book1.gif
10 image create photo label2 -file ./images/mini-book2.gif
11 image create photo testImage -file ./images/txtrflag.gif
20 -highlightcolor yellow \
23 -scrollcommand { .s set } \
42 label .t.l -image testImage
46 option add *Tabset.Tab.font -*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
47 #option add *Tabset.Tab.fill both
50 "Graph \#1" pink .t.graph1
51 "Graph \#2" blue .t.graph2
52 "Graph \#3" cyan .t.graph3
53 "Graph \#5" yellow .t.graph5
57 foreach { label color window } $attributes {
58 .t insert end $label -window $window \
59 -selectbackground ${color}2 \
60 -background ${color}3 \
61 -activebackground ${color}1
64 set f [open "../MANIFEST" "r"]
65 for { set i 0 } { $i < 50 } { incr i } {
67 .t insert end $word -state normal
71 scrollbar .s -command { .t view } -orient horizontal
72 radiobutton .left -text "Left" -variable side -value "left" \
73 -command { .t configure -side $side -rotate 90 }
74 radiobutton .right -text "Right" -variable side -value "right" \
75 -command { .t configure -side $side -rotate 270 }
76 radiobutton .top -text "Top" -variable side -value "top" \
77 -command { .t configure -side $side -rotate 0 }
78 radiobutton .bottom -text "Bottom" -variable side -value "bottom" \
79 -command { .t configure -side $side -rotate 0 }
82 .t 0,0 -fill both -cspan 2 \
83 .s 1,0 -fill x -cspan 2 \
89 table configure . r1 r3 r4 r2 -resize none
96 .t tab configure 3 -state normal