[wxPython-users] 'Cool' button with text and icon

Robin Dunn robin at alldunn.com
Sun Mar 18 14:40:04 PDT 2007


Basil Shubin wrote:
> Hi friends,
> 
> Is it possible to make such a button in wxPython (see attachment)?
> 
> If this true, what I shall use (class & methods) and how? Any suggestion 
> from you?

One way to do it is to use a wx.BitmapButton and simply programatically 
create the bitmap to contain the combination of the image and the text. 
  Another way is to use wx.lib.buttons.GenBitmapTextButton

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






More information about the wxpython-users mailing list