Displaying 2 results from an estimated 2 matches for "highlightthick".
2008 Nov 05
3
Help with TCL/TK on centos 5.2 unknown color black
...I am using centos 5.2 x86_64 on a box. and getting this error:
wish -f pcalert.tcl
Error in startup script: unknown color name "black"
(processing "-background" option)
invoked from within
"canvas .c -height $canvas_height -width $screen_width -background black
-highlightthickness 0 "
invoked from within
"set c [canvas .c -height $canvas_height -width $screen_width
-background black -highlightthickness 0 ]"
(file "pcalert.tcl" line 138)
I take the same script on 3 other machines with centos 5.2 x86_64 and it
runs just fine.
What is th...
2007 May 22
0
tcl font size issue on centso 4.4 x86_64
...set my_message "This is my message..."
wm geometry . ${screen_width}x${font_size}+${window_x}+${window_y}
wm overrideredirect . $disable_window_decorations
font create ourFont -family helvetica -size $font_size
set c [canvas .c -height $font_size -width $screen_width -background
black -highlightthickness 0 ]
pack $c
$c create text 10 4 -text $my_message -font ourFont -anchor nw -fill red
~
~