You're giving the -background attribute a reference to a scalar. You just want the scalar value.
my $test = $mw->Label( ..., -background => $bg_colour, );
In reply to Re: changing the background of a Tk Label
by brian_d_foy
in thread changing the background of a Tk Label
by fcvw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |