Re: How to detect closing of wx.Panel?

2007-02-18 Thread Morpheus
VT_CLOSE event concerns wx.Frame class only. Neither Close() nor > Destroy() aren't executed if the event occurs (if user close a panel). Thus > extanding these both methods doesn't make sens (I've tested that). > > With many thanks & > Best wishes, > Jacek Cheers

Re: wxPython: panel not fully painted

2007-01-25 Thread Morpheus
l is repainted correctly (that's > why I inserted the self.SendSizeEvent() line - commented above). > > Is there something I'm missing, or this is normal ? > > I'm using python 2.4.3 and wxpython 2.8.1.1 unicode, on WinXP SP2. > Windows extensions a

Re: What am I supposed to do with an egg?!

2006-12-20 Thread Morpheus
; case it creates a folder with the same name (including the .egg extension) > in site-packages and unzips the egg there. Thanx a lot! "sudo python setup.py easy_install --always-unzip ." did the trick Kind regards Morpheus > > Forcing an unzip can be useful if you want to us

What am I supposed to do with an egg?!

2006-12-19 Thread Morpheus
st - sorry, Linux newbie). So, what am I supposed to do here now? Kind regards Morpheus -- http://mail.python.org/mailman/listinfo/python-list

Re: wxTimer problem

2006-09-16 Thread Morpheus
ot; > > how can I fix this?? > > FYI, my script is being started by a new thread each time, so > ultimately we have > > def startProgram(): > foo = MyProgram() > > threading.Thread(target=startProgram).start() > > > Thanks in advance. You must not access wx from more than one thread. Read their wiki about this and about the appropriate workaround. Morpheus -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython: Should you use a master sizer object?

2006-06-11 Thread Morpheus
IIRC the wx dox contain stuff about sizers too. It's definitly worth to get into this stuff. Once you are used to sizers, you don't want to miss them anymore. HTH Morpheus "John Salerno" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Steve Holden wr

Re: wxpython: another missing attribute

2006-06-09 Thread Morpheus
elf, parent, id, title, pos, size, style, name) > panel = wx.Panel(self) > text = wx.StaticText(panel, -1, 'Click results') This becomes a local var, i.e. local to __init__. To make it an instance var write self.text = wx.StaticText(panel, -1, 'Click results') HTH

Re: wxpython: where is the demo?

2006-06-08 Thread Morpheus
That's a separate download. Morpheus "John Salerno" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I just realized that after installing wxPython, it did not add the usual > menu item to my Start menu (Windows), where I can access the docs and >