fcvw has asked for the wisdom of the Perl Monks concerning the following question:
Unfortunately, this does not work (unknown color name "SCALAR(0x8322488)"...). Is there a trick to change the background colour?my $test = $mw->Label(-textvariable => \$some_text, -justify => 'center', -foreground => 'black', -background => \$bg_colour, );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: changing the background of a Tk Label
by brian_d_foy (Abbot) on May 31, 2005 at 20:21 UTC | |
|
Re: changing the background of a Tk Label
by polettix (Vicar) on May 31, 2005 at 20:23 UTC | |
|
Re: changing the background of a Tk Label
by tall_man (Parson) on Jun 01, 2005 at 03:06 UTC | |
by Anonymous Monk on Jun 01, 2005 at 04:10 UTC |