Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Trying to color individual entries in Tk::Tree

by roho (Chancellor)
on Oct 31, 2008 at 23:57 UTC ( #720804=perlquestion: print w/replies, xml ) Need Help??

roho has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to change text color for individual entries using Tk::Tree. I've tried using configure on the tree widget with the option -foreground => 'red' (for example), but this changes ALL entries in the tree to red. I need to apply different colors to the text of individual entries. Can anyone help me? Thanks.

"Its not how hard you work, its how much you get done."

  • Comment on Trying to color individual entries in Tk::Tree

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2020-02-24 01:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (104 votes). Check out past polls.

    Notices?