I've seen from the demo/docs that you can make a button with text or a button
with a bitmap, but what about a button with text _and_ a bitmap? I'd like to
make some toolbar buttons that have regular size text to the right, so it is
easy to tell what they do, at first glance.
Anyone remember those Borland like buttons on windows where the "Ok" had a
green checkbox, and the "Cancel" button had a red X? I think I've seen it on
Java Swing as well.
I've seen from the demo/docs that you can make a button with text or a
button
with a bitmap, but what about a button with text _and_ a bitmap? I'd like
to
make some toolbar buttons that have regular size text to the right, so it
is
easy to tell what they do, at first glance.
Two ways to do it. 1. Make bitmaps that include the text and just use
wxBitmapButton. 2. Make a new type of generic button class derived from one
in wxPython/lib/buttons.py that draws both text and bitmap labels.