in reply to Re^4: Background Color - Tk Checkbutton
in thread Background Color - Tk Checkbutton

Well, in the code you posted there's no colour specification whatsoever.

Doesn't

my $cb_update_actual = $FrameDataToAnalyze -> Checkbutton( ... ); $cb_update_actual->configure( -activebackground => $cb_update_actual->cget('-background'), -activeforeground => $cb_update_actual->cget('-foreground'), );

do the trick?

What is it that keeps changing? is it $FrameDataToAnalyze or $cb_update_actual ?

Replies are listed 'Best First'.
Re^6: Background Color - Tk Checkbutton
by Bintuch (Acolyte) on Jul 12, 2010 at 10:19 UTC

    No colur specification because I still don't know how to get what I want... ;-)

    The box where you put the 'x' of the Checkbutton changes.

      Well, it doesn't do that on my system. Can't help anymore, I'm afraid; since

      use Data::Dumper; print Dumper [$cb_update_actual ->configure];

      doesn't show anything related to blinkensquare, that behavior must be buried in some "no user-serviceable parts" section...

        Thanks anyway!