Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Syntactic Confectionery Delight
 
PerlMonks  

Re: changing the background of a Tk Label

by tall_man (Parson)
on May 31, 2005 at 23:06 UTC ( [id://462281]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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).

Replies are listed 'Best First'.
Re^2: changing the background of a Tk Label
by Anonymous Monk on Jun 01, 2005 at 00: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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://462281]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.