Jp Calderone wrote:
In the particular case of wxWidgets, it turns out that the *GUI* blocks
for long periods of time, preventing the *network* from getting
attention. But I agree with your position for other toolkits, such as
Gtk, Qt, or Tk.
Are you simply showing that there are two
Cheers for the replies people, but I got it sorted by just whacking in
wx.YieldIfNeeded() in the code before it communicates over the socket.
It's kind of jerky, but it works, where as before I'd click and drag,
and the 3d view wouldn't move for about 20 seconds.
--
On Thu, 21 Jul 2005 00:51:45 -0400, Christopher Subich [EMAIL PROTECTED]
wrote:
Jp Calderone wrote:
In the particular case of wxWidgets, it turns out that the *GUI* blocks
for long periods of time, preventing the *network* from getting
attention. But I agree with your position for other
On 20 Jul 2005 22:06:31 -0700, Paul Rubin http://phr.cx@nospam.invalid
wrote:
Christopher Subich [EMAIL PROTECTED] writes:
In the particular case of wxWidgets, it turns out that the *GUI*
blocks for long periods of time, preventing the *network* from
getting attention. But I agree with
On Thu, 21 Jul 2005 05:42:32 -, Donn Cave [EMAIL PROTECTED] wrote:
Quoth Paul Rubin http://[EMAIL PROTECTED]:
| Christopher Subich [EMAIL PROTECTED] writes:
| In the particular case of wxWidgets, it turns out that the *GUI*
| blocks for long periods of time, preventing the *network* from
|
On Thu, 21 Jul 2005 02:33:05 -0400, Peter Hansen [EMAIL PROTECTED] wrote:
Jp Calderone wrote:
In the particular case of wxWidgets, it turns out that the *GUI* blocks
for long periods of time, preventing the *network* from getting
attention. But I agree with your position for other toolkits,
Paul Rubin wrote:
Huh? It's pretty normal, the gui blocks while waiting for events
from the window system. I expect that Qt and Tk work the same way.
Which is why I recommended Twisted for the networking; it integrates
with the toolkit event loops so it automagically works:
Jp Calderone wrote:
On Thu, 21 Jul 2005 02:33:05 -0400, Peter Hansen [EMAIL PROTECTED] wrote:
(And since there is even a wxPython main loop
integrated with and provided in Twisted, surely you aren't arguing that
what wx does is somehow unusual or bad.)
Blocking inside the mainloop while
I have a program that shows a 3d representation of a cell, depending on
some data that it receives from some C++. It runs with wx.timer(500),
and on wx.EVT_TIMER, it updates the the data, and receives it over the
socket.
In my program I also want to be able to rotate the 3d representation,
and can
Have you tried binding EVT_MOTION(func) to your window?
--
http://mail.python.org/mailman/listinfo/python-list
stringy wrote:
I have a program that shows a 3d representation of a cell, depending on
some data that it receives from some C++. It runs with wx.timer(500),
and on wx.EVT_TIMER, it updates the the data, and receives it over the
socket.
It's generally inappropriate to have a GUI program do
Peter Hansen wrote:
stringy wrote:
I have a program that shows a 3d representation of a cell, depending on
some data that it receives from some C++. It runs with wx.timer(500),
and on wx.EVT_TIMER, it updates the the data, and receives it over the
socket.
It's generally inappropriate
On Thu, 21 Jul 2005 00:18:58 -0400, Christopher Subich [EMAIL PROTECTED]
wrote:
Peter Hansen wrote:
stringy wrote:
I have a program that shows a 3d representation of a cell, depending on
some data that it receives from some C++. It runs with wx.timer(500),
and on wx.EVT_TIMER, it updates the
Jp Calderone wrote:
In the particular case of wxWidgets, it turns out that the *GUI* blocks
for long periods of time, preventing the *network* from getting
attention. But I agree with your position for other toolkits, such as
Gtk, Qt, or Tk.
Wow, I'm not familiar with wxWidgets; how's
Christopher Subich [EMAIL PROTECTED] writes:
In the particular case of wxWidgets, it turns out that the *GUI*
blocks for long periods of time, preventing the *network* from
getting attention. But I agree with your position for other
toolkits, such as Gtk, Qt, or Tk.
Wow, I'm not
Quoth Paul Rubin http://[EMAIL PROTECTED]:
| Christopher Subich [EMAIL PROTECTED] writes:
| In the particular case of wxWidgets, it turns out that the *GUI*
| blocks for long periods of time, preventing the *network* from
| getting attention. But I agree with your position for other
|
16 matches
Mail list logo