[wxruby-users] Changing the color of buttons

Eric Rubin erubin at valcom.com
Wed Apr 16 14:55:07 EDT 2008


I'm having trouble changing the color of Buttons in WxRuby.  I'm calling
set_background_colour (and set_foreground_colour) and the calls return true,
but the button remains gray.  

 

In searching the documentation it seems that the problem might be related to
should_inherit_colours, which can prohibit color changes, but the
documentation is confusing.  (Doesn't specify whether should_inherit_colours
should return true or false.)

 

Any suggestions?

 

Eric

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20080416/ae3b8b7e/attachment.html 


More information about the wxruby-users mailing list