Best Way to do none square buttons

Ideally I need to make buttons that are hexagon shaped is there anyway
to do this in wxpython or should I look at pygame?

···

--
Mike Wagman <mwagman@charter.net>

Mike Wagman wrote:

Ideally I need to make buttons that are hexagon shaped is there anyway
to do this in wxpython or should I look at pygame?

On Windows you can sorta do it with a bitmap button if the bitmap has transparent areas, but that won't work on wxGTK because the widget itself won't be transparent. (I don't recall right off how wxMac behaves in this case...)

I've recently added shaped window capabilities that will be in 2.4.1, but it is currently only for top level windows so that won't help you much for custom controls...

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!