glenn has asked for the wisdom of the Perl Monks concerning the following question:
PS: i have also tried:my %colors = ( but_quit => { '-background' => 'red', '-foreground' => 'black', }, lbl => { '-background' => 'tan', '-foreground' => 'black', }, ent => { '-background' => 'white', '-foreground' => 'black', }, ); $frame->LabEntry(-label=>"IP Address", -labelWidth=>$lblwidth, -labelP +ack=>[-side=>'left', -anchor=>'w'], -textvariable => \$ServiceSystem, + $colors{lbl} )
lbl => { '-background => tan, -foreground => black', },
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: tk widget options stored in hash
by kcott (Archbishop) on Nov 13, 2013 at 19:27 UTC | |
by glenn (Scribe) on Nov 13, 2013 at 20:01 UTC | |
by glenn (Scribe) on Nov 13, 2013 at 21:20 UTC | |
by kcott (Archbishop) on Nov 13, 2013 at 22:24 UTC |