Re: Button Color

Bruce Ravel <[email protected]> Mon, 4 Apr 2016 15:52:28 -0400
Newsgroups gmane.comp.lang.perl.wxperl
Organization National Institute of Standards and Technology
Message-ID <[email protected]>
On 04/04/2016 03:38 PM, James Lynes wrote:
> Bruce:
>
> Thanks! I'll give it a try. Should have found that one myself...duh...

You needs to dig through the inheritance list of the widget to find such 
things.  In the case of Wx::Button, SetBackgroundColour is inherited 
from Wx::Window.

B

> James
>
>
> On Sun, Apr 3, 2016 at 7:29 PM, James Lynes <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Hello All:
>
>     Is there any way to change the background and/or foreground color of
>     a Wx::Button?
>
>     Thanks,
>     James
>
>


-- 
  Bruce Ravel  ------------------------------------ [email protected]

  National Institute of Standards and Technology
  Synchrotron Science Group at NSLS-II
  Building 535A
  Upton NY, 11973

  Homepage:    http://bruceravel.github.io/home/
  Software:    https://github.com/bruceravel
  Demeter:     http://bruceravel.github.io/demeter/