Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: changing the background of a Tk Label

by tall_man (Parson)
on Jun 01, 2005 at 03:06 UTC ( #462281=note: print w/ replies, xml ) Need Help??


in reply to changing the background of a Tk Label

I think I know what you want to do. You wish to reconfigure the color after the widget has been created. What you need is something like this:

$test->configure(-background => $bg_color).


Comment on Re: changing the background of a Tk Label
Download Code
Replies are listed 'Best First'.
Re^2: changing the background of a Tk Label
by Anonymous Monk on Jun 01, 2005 at 04:10 UTC
    This is the answer I was looking for.
    Thank you very much!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://462281]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2015-08-01 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls