<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I have tried that but found that my stackless threadlets are not fired.
<br>
<br>
On my server I had ended up putting a while 1: around stackless.run()
to ensure that stackless keeps on running for me. <br>
This is of course incompatible with starting the wxpython main loop.<br>
<br>
Paul<br>
<br>
<br>
Richard Tew wrote:
<blockquote
cite="mid:952d92df0901050932k3d6dc01eq27625be84d64ac7a@mail.gmail.com"
type="cite">
<pre wrap="">On Mon, Jan 5, 2009 at 8:35 AM, Paul Sijben <a class="moz-txt-link-rfc2396E" href="mailto:sijben@eemvalley.com"><sijben@eemvalley.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Until now I have been using stackless on my server and wxpython on the
client of my application.
However I have the feeling the client would be much more nippy if it
used stackless too.
Is there a way for both wxpython and stackless to work in one application?
</pre>
</blockquote>
<pre wrap=""><!---->
There is some discussion of this on the list in the past, although I
am not willing to google it and determine if it is worthwhile to use
as a reference on the subject.
This link alludes that it is very simple:
<a class="moz-txt-link-freetext" href="http://aigamedev.com/Blog/2006/09/12/automated-testing-of-user-interfaces-in-wxpython/">http://aigamedev.com/Blog/2006/09/12/automated-testing-of-user-interfaces-in-wxpython/</a>
"Integration of Stackless with wxPython. This can be done very simply;
the python script launches stackless.run(), and the main tasklet runs
the wxPython event loop."
Cheers,
Richard.
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Paul Sijben         tel: +31334566488
Eemvalley Technology BV         fax: +31334557523
the Netherlands         <a class="moz-txt-link-freetext" href="http://eemvalley.com">http://eemvalley.com</a>
-----------------------------------------------------
EemValley Technology werft python & wxpython
programmeurs: <a class="moz-txt-link-freetext" href="http://www.eemvalley.nl/jobs">http://www.eemvalley.nl/jobs</a>
</pre>
</body>
</html>