Dennis:
Thanks for your message. Let me try the double-buffer-operation.
Ouyang
Dennis Lee Bieber wrote:
On 1 Aug 2006 01:10:18 -0700, zxo102 [EMAIL PROTECTED] declaimed the
following in comp.lang.python:
I just wrote the code following the example you provided. The image
location can
Philippe,
I just wrote the code following the example you provided. The image
location can be controlled with the data from socket client. But only
one thing confuse me. When the image keeps moving to a new location,
the image at a old location is not deleted and is left behind in the
frame. Do
I think you should use thread.
I just write a similar program using thread. It works well
You can try it, good luck!
--
http://mail.python.org/mailman/listinfo/python-list
Hi everyone,
I am using a python socket server to collect data from a socket
client and then control a image location ( wxpython) with the data,
i.e. moving the image around in the wxpython frame.
But the app.MainLoop() in wxpython looks like conflicting with
the while 1: in socket server.
zxo102 wrote:
Hi everyone,
I am using a python socket server to collect data from a socket
client and then control a image location ( wxpython) with the data,
i.e. moving the image around in the wxpython frame.
But the app.MainLoop() in wxpython looks like conflicting with
the while
Philippe Martin wrote:
zxo102 wrote:
Hi everyone,
I am using a python socket server to collect data from a socket
client and then control a image location ( wxpython) with the data,
i.e. moving the image around in the wxpython frame.
But the app.MainLoop() in wxpython looks like
On 2006-07-30, Philippe Martin [EMAIL PROTECTED] wrote:
If you get rid of app.MaiLoop(), you basically get rid of all GUI events.
You need to have you server in a separate thread.
Isn't there any way to use wxWidgets socket callbacks in wxPython?
--
Grant Edwards grante
Philippe,
Thanks a lot. I got the idea. Let me try it.
Ouyang
Philippe Martin 写道:
Philippe Martin wrote:
zxo102 wrote:
Hi everyone,
I am using a python socket server to collect data from a socket
client and then control a image location ( wxpython) with the data,
i.e. moving
Philippe Martin wrote:
Philippe Martin wrote:
You need to have you server in a separate thread.
PS:
http://wiki.wxpython.org/index.cgi/LongRunningTasks
And here's an important bit from the wxWindows doc:
For communication between secondary threads and the main thread,
you may use
Grant Edwards wrote:
On 2006-07-30, Philippe Martin [EMAIL PROTECTED] wrote:
If you get rid of app.MaiLoop(), you basically get rid of all GUI events.
You need to have you server in a separate thread.
Isn't there any way to use wxWidgets socket callbacks in wxPython?
--
Grant Edwards
10 matches
Mail list logo