could you demonstrate your problem with a small runnable example like below? I doubt that it is caused by creating a composite but rather by the combination of Widgets / Options you use. (What exactly are your Options to specify 'passive colors').
use strict; use warnings; use Tk; my $mw = tkinit; $mw->optionAdd('*Custom*Background' => 'red'); my $f = $mw->Entry(-class => 'Custom', -text => 'hello world!', )->pack; MainLoop;
Cheers, Christoph
In reply to Re: Specifying the -class of Tk subwidgets
by lamprecht
in thread Specifying the -class of Tk subwidgets
by monksp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |