[wxpython-users] where we put the .png files?
Abdessamad EL GON-NOUNI
abdessamadg at gmail.com
Thu May 1 13:55:14 PDT 2008
It dosn't work, he gives me the msg "Can'l load image from file
'Exit.png':files does not exist"
I have another problem: when I want to bind an element from the menubar to
an event, the program doesn't recognize the method, I have this error msg:
'MainWindow' object has no attribute 'OnExit'
2008/5/1 Cody Precord <codyprecord at gmail.com>:
> Hello,
>
> You can put them anywhere you want to, your program just has to be able to
> read them and create a wx.Bitmap from them to use your toolbar, ect...
>
> You may also want to look at the img2py script that comes with wxpython
> for embedding the png images in python code.
>
> Regard,
>
> Cody
>
> On May 1, 2008, at 3:19 PM, Abdessamad EL GON-NOUNI wrote:
>
> hello,
> > I'm working on a graphic interface with wxpython and I want to make a
> > tool bar with icons. but I don't know where should I put these icons so=
that
> > they can be shown. I use eclipse to develop my application. any idea?
> > _______________________________________________
> > wxpython-users mailing list
> > wxpython-users at lists.wxwidgets.org
> > http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
> >
>
> _______________________________________________
> wxpython-users mailing list
> wxpython-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200805=
01/7e5952fb/attachment.htm
More information about the wxpython-users
mailing list