laziness, impatience, and hubris | |
PerlMonks |
Reset widget configuration to defaultby Phinix (Acolyte) |
on Dec 20, 2012 at 03:23 UTC ( [id://1009681]=perlquestion: print w/replies, xml ) | Need Help?? |
Phinix has asked for the wisdom of the Perl Monks concerning the following question: I have a simple, probably extremely obvious question. Say I have a random widget, a button for the sake of the example, and during the coarse of my program I use configure() to set -background to a non-standard color. Is there a simple way to later reset that widget's colors and other options to "default?" The reason I ask is that just setting the background color to the window color to reset it also creates a noticeable black border around the button I would prefer not exist.
Back to
Seekers of Perl Wisdom
|
|