From: Why Tea on
How do you set the background color of a menubutton in focus?

I tried I read the manual many times and tried many things, but
still couldn't get it to work. This is what I've tried:

menubutton $base.fra.men \
-menu .mainWin.fra.men.m -padx 7 -pady 5 -font
$::menu_font \
-image $::some_image -relief groove -highlightcolor
Green

/Why Tea
From: Why Tea on
On Apr 30, 3:17 pm, Why Tea <ytl...(a)gmail.com> wrote:
> How do you set the background color of a menubutton in focus?
>
> I tried I read the manual many times and tried many things, but
> still couldn't get it to work. This is what I've tried:
>
> menubutton $base.fra.men \
>                    -menu .mainWin.fra.men.m -padx 7 -pady 5 -font
> $::menu_font \
>                    -image $::some_image -relief groove -highlightcolor
> Green
>
> /Why Tea

Please ignore. I've found a solution to the problem.
From: Alexandre Ferrieux on
On Apr 30, 8:35 am, Why Tea <ytl...(a)gmail.com> wrote:
> On Apr 30, 3:17 pm, Why Tea <ytl...(a)gmail.com> wrote:
>
> > How do you set the background color of a menubutton in focus?
>
> > I tried I read the manual many times and tried many things, but
> > still couldn't get it to work. This is what I've tried:
>
> > menubutton $base.fra.men \
> >                    -menu .mainWin.fra.men.m -padx 7 -pady 5 -font
> > $::menu_font \
> >                    -image $::some_image -relief groove -highlightcolor
> > Green
>
> > /Why Tea
>
> Please ignore. I've found a solution to the problem.

Oh please, regardless of the simplicity, do share it.

Personally, I hate it when I google for a random question, dig out a
single forum mentioning it, and see only people saying "never mind,
problem solved" without giving the solution.

-Alex
From: Why Tea on
On Apr 30, 6:09 pm, Alexandre Ferrieux <alexandre.ferri...(a)gmail.com>
wrote:
> On Apr 30, 8:35 am, Why Tea <ytl...(a)gmail.com> wrote:
>
>
>
> > On Apr 30, 3:17 pm, Why Tea <ytl...(a)gmail.com> wrote:
>
> > > How do you set the background color of a menubutton in focus?
>
> > > I tried I read the manual many times and tried many things, but
> > > still couldn't get it to work. This is what I've tried:
>
> > > menubutton $base.fra.men \
> > >                    -menu .mainWin.fra.men.m -padx 7 -pady 5 -font
> > > $::menu_font \
> > >                    -image $::some_image -relief groove -highlightcolor
> > > Green
>
> > > /Why Tea
>
> > Please ignore. I've found a solution to the problem.
>
> Oh please, regardless of the simplicity, do share it.
>
> Personally, I hate it when I google for a random question, dig out a
> single forum mentioning it, and see only people saying "never mind,
> problem solved" without giving the solution.
>
> -Alex

I used the wrong option, it should be activebackground. The
following works:

$base.fra.men configure -activebackground Green