[wxpython-users] Re: PNG in toolbar on SUSE Linux

Sebastian Z.urek sebzur at gmail.com
Sat Apr 12 14:58:19 PDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robin Dunn pisze:
> Jürgen Waser wrote:
>> I installed the following packages from the SUSE Community Repositories:
>>
>> python-wxGTK: 2.8.6.0-1.5
>> wxWidgets 2.8.7-0 pm-1
>>
> 
> Hmm...  You may want to double check that an older version is not being
> found before 2.8.6.  You shouldn't be getting a "No image handler..."
> message from anything newer than 2.5.2 or so because wxPython calls
> wxInitAllImageHandlers itself now.
> 

Hi,

I can't find the previous threads to this subject - so it is possible,
that I'm repeating the question, but...

Is there a simple way to add a bitmap to wx.ToolBar? I've got three
ChoiceBoxes, playing a role of a 'cascade filter' (the choices list in
succeeding control depends on choice made in previous one), and I found
it nice to render it as:

|-----|         |-----|        |-----|
|     |   --->  |     |  --->  |     |
|-----|         |-----|        |-----|

where the boxes are wx.Choice widgets and arrows would be some .pngs
Shall I work with wx.DC methods or is there a simpler solution?

I also wonder, whether to create a custom widget being the filter, or to
 add these three wx.Choices (with additional arrows images if possible)
to ToolBar.

What do you colleagues think?

Thank You in advance for a discussion.

Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIAo4HGAS1N8/5iJ4RAiXQAJwPFloDA4WSZsnSPRyuSzsOkOL16gCfTQST
wr0O8dsPbpXPJZxOkDnNlrc=
=68Q4
-----END PGP SIGNATURE-----



More information about the wxpython-users mailing list