[wxruby-users] Bitmap toggle button

Ajithkumar Warrier awarrier at berkeley.edu
Tue Apr 22 13:06:19 EDT 2008


Thanks Alex,

wxPython's GenBitmapToggleButton seems to rely heavily on the toggle
mixin, and it might require more digging in than I had originally
intended. I'll try it later and keep posted.

On Tue, Apr 22, 2008 at 9:40 AM, Alex Fenton <alex at pressure.to> wrote:
> Ajithkumar Warrier wrote:
>  > How do I make a bitmap toggle button? I tried making a toggle button
>  > and then drawing onto it, but that didn't work. Also, I tried a bitmap
>  > button but that wouldn't remain pressed like a toggle button.
>  Also, you might adapt from wxPython's GenBitmapToggleButton. The python
>  code should be easier to translate into wxRuby.
>
>  http://svn.wxwidgets.org/svn/wx/wxPython/trunk/wx/lib/buttons.py
>
>
>
>  a
>
>  _______________________________________________
>  wxruby-users mailing list
>  wxruby-users at rubyforge.org
>  http://rubyforge.org/mailman/listinfo/wxruby-users
>


More information about the wxruby-users mailing list