[wxpython-users] ANN: Airs v0.9d released

Werner F. Bruhin werner.bruhin at free.fr
Mon Apr 14 10:56:55 PDT 2008


Jorgen Bodde wrote:
> ...
>>  To test, change airs/gui/AirsFrame.py line 44, from:
>>
>>  self.SetIcon(wx.IconFromBitmap(icon_main.getBitmap()))
>>     
use the -i of imp2py:
    -i             Also output a function to return the image as a wxIcon.

I use in my generation script for each image something along these lines:

"-a -u -i -n logo logofile.png ../myimages.py",

and then in the code:

self.SetIcon(myimages.getlogoIcon())

Werner


More information about the wxpython-users mailing list