Forum: Poser Python Scripting


Subject: wxpython - add label to wx.BitmapButton?

Netherworks opened this issue on May 08, 2010 · 6 posts


Netherworks posted Sat, 08 May 2010 at 6:58 PM

Heyas,

I am trying to work with Poser 8/Pro 2010 wxpython.  I created a blank button .bmp that I'm using as a template for buttons in a panel.  I am wondering if there is a way to add text to the blank buttons without having to use a different graphic for each button.

I am using wx.BitmapButton to utilize the buttons but can't seem to figure out a simple way, other than making a dozen different graphics, to add text to them.

I haven't been able to find a lot of information or examples of this.  The wxpython documentation online reads worse than stereo instructions.

.