The stupid question is the question not asked | |
PerlMonks |
Tk widget derivation problemsby anjiro (Beadle) |
on Aug 02, 2003 at 08:05 UTC ( [id://280252]=perlquestion: print w/replies, xml ) | Need Help?? |
anjiro has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to create a new Tk widget derived from a Tk::Label. It works okay for the most part, but I discovered that the -foreground option doesn't seem to be getting passed. I've simplified the code to the following:
And some test code:
Running this, I get the background of the label blue as requested, but the foreground appears black rather than red. Any ideas? Thanks! Daniel Ashbrook
Back to
Seekers of Perl Wisdom
|
|