[wxpython-users] Re: PNG in toolbar on SUSE Linux
Sebastian Z.urek
sebzur at gmail.com
Mon Apr 14 13:23:06 PDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robin Dunn pisze:
> Sebastian Z.urek wrote:
>> -----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?
>
> You can use a wx.StaticBitmap and AddControl.
>
>
Yes - this is the right solution. I thought that this combination would
work somehow like a button (don't ask my why!:D), but it gives me simply
a bitmap on the toolbar and that's what I need.
Thanks Robin!
BTW, the wx.Python in Action is great! Thanks for that work! Bye!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIBRysGAS1N8/5iJ4RAvL9AJ4u0vNsbJeNgkOgaym6NoQqUGWeqQCfYSP9
qEt2+7Me1QsKyczD4GgLGik=
=5L1X
-----END PGP SIGNATURE-----
More information about the wxpython-users
mailing list