in reply to Tk widget derivation problems
I recall reading somewhere that the -background and -foreground options are special-cased in a few places in the Tk code and that this can cause unpredictable behavior in some cases (or something to that effect). Adding entries for the options to the call to ConfigSpecs should solve the problem:
$self->ConfigSpecs( -background => [qw/SELF Background background/], -foreground => [qw/SELF Foreground foreground/], 'DEFAULT' => [ 'SELF' ], );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Tk widget derivation problems
by anjiro (Beadle) on Aug 03, 2003 at 09:37 UTC | |
by JamesNC (Chaplain) on Aug 03, 2003 at 14:49 UTC |
In Section
Seekers of Perl Wisdom