Ronald Otto Valentin
4/26/2006 7:50:00 AM
Ronald Fischer schrieb:
> I find the default colour assignment for Tk widgets (kind of a dark-green over a something I could best describe a muddy brown) a bit
> difficult to read, and therefore would like to use a different
> background colour for my widget.
I found the solution! Here is how I did it:
Before entering the main loop, I use the statements
$dft_background="#F8E8EE"
TkOption.add("*foreground","blue")
TkOption.add("*background",$dft_background)
Then, when creating the root widget, I write
TkRoot.new() { background $dft_background }
This together has the desired effect.
Ronald