in reply to Re: Tk widget derivation problems
in thread Tk widget derivation problems

That does it, all right. I actually just got a similar reply on the ptk mailing list; the person said that -foreground and -background are a little funny because they're aliased to -fg and -bg.

Thanks a lot!

Daniel Ashbrook

Replies are listed 'Best First'.
Re: Re: Re: Tk widget derivation problems
by JamesNC (Chaplain) on Aug 03, 2003 at 14:49 UTC
    Interesting, in Derived.pm and Widget.pm you see a similar constructs only opposite
    $specs->{'-foreground'} = \@fg,'foreground','Foreground',BLACK];

    Widget.pm
    $cw->ConfigSpecs('-scrollbars' => ['METHOD','scrollbars','Scrollbars' +,'se'], '-background' => [$w,'background','Background'], '-foreground' => [$w,'foreground','Foreground'],
    I think it would be interesting to know what this is doing...