Re: Icon on wx.MDIParentFrame

2005-11-06 Thread Andrea Gavana
Hello Len

 I would like to put an Icon on the frame but cannot figure out how to
 do it any help.

What about:

wx.MDIParentFrame.SetIcon(self, icon)

?

I usually take a look also to the wxPython API docs at:

http://www.wxpython.org/docs/api/

Or I use some google-fu to find answers, both for Python and wxPython.

However,

 It appears that wxPython suffers from the same problem as most software
 packages.  I find that the reference manual is only of any real help
 once you have a pretty good understanding of how the software works in
 the first place.

The docs subject appears to be hot this week ;-) . You are perfectly
right, in my opinion. However, I am quite sure that the new wxPython book
(scheduled for december or something around december) will be a useful and
nice reference for newbies and experts.

HTH.

Andrea.

-- 
Imagination Is The Only Weapon In The War Against Reality.
http://xoomer.virgilio.it/infinity77


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Icon on wx.MDIParentFrame

2005-11-06 Thread LenS
Thanks

I will keep an eye out for the book.  I just downloaded wxGlade and
created a small file and looked at how it does it.

Again thanks for the response

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Icon on wx.MDIParentFrame

2005-11-06 Thread Peter Hansen
LenS wrote:
 Thanks
 
 I will keep an eye out for the book.  I just downloaded wxGlade and
 created a small file and looked at how it does it.

That (copying someone else) is almost always the best approach anyway, 
even when one has decent documentation.

Note that with wxPython you should have or can install the Demo 
package, which includes a demo program that shows how to do pretty much 
everything.  If there isn't code somewhere in there that shows how to 
set an icon on a frame, I'd be surprised.  (On the other hand, finding 
exactly which of the many demo screens it is in could be a challenge.)

The demo used to be included in the standard distribution but is now 
separate, so maybe you missed it.

-Peter
-- 
http://mail.python.org/mailman/listinfo/python-list