I'm working on PythonOCC, which is a terrific framework for the
rapid prototyping of sophisticated CAD apps (it rocks!).
PythonOCC comes with a viewer, that works both in wxPython and
PyQt4 ( actually comes with x11 and a webgl viewer too... ).
I'm more familiar with the latter GUI kit than wx, so please excuse
my naivety in wx...
Something incredibly useful in the PyQt4 version of the viewer that comes with
PythonOCC is that while debugging is that while pdb.set_trace() is called, events
are still processed due to QtGui.QApplication.processEvents() goodness.
That makes a world of different when you're working on geometry and still are
able to navigate in the viewer while debugging your geometry, its priceless.
What I'd love to know is how I can mimic this behaviour in wxPython?
This would make a world of difference for me.
On Tue, Aug 21, 2012 at 3:29 PM, Jelle Feringa <jelleferinga@gmail.com> wrote:
I'm working on PythonOCC, which is a terrific framework for the
rapid prototyping of sophisticated CAD apps (it rocks!).
PythonOCC comes with a viewer, that works both in wxPython and
PyQt4 ( actually comes with x11 and a webgl viewer too... ).
I'm more familiar with the latter GUI kit than wx, so please excuse
my naivety in wx...
Something incredibly useful in the PyQt4 version of the viewer that comes with
PythonOCC is that while debugging is that while pdb.set_trace() is called, events
are still processed due to QtGui.QApplication.processEvents() goodness.
That makes a world of different when you're working on geometry and still are
able to navigate in the viewer while debugging your geometry, its priceless.
What I'd love to know is how I can mimic this behaviour in wxPython?
This would make a world of difference for me.
It sounds like perhaps wx.App.Yield would be a better match.
···
On 8/23/12 6:25 AM, Cody wrote:
Hi,
On Tue, Aug 21, 2012 at 3:29 PM, Jelle Feringa <jelleferinga@gmail.com> wrote:
I'm working on PythonOCC, which is a terrific framework for the
rapid prototyping of sophisticated CAD apps (it rocks!).
PythonOCC comes with a viewer, that works both in wxPython and
PyQt4 ( actually comes with x11 and a webgl viewer too... ).
I'm more familiar with the latter GUI kit than wx, so please excuse
my naivety in wx...
Something incredibly useful in the PyQt4 version of the viewer that comes with
PythonOCC is that while debugging is that while pdb.set_trace() is called, events
are still processed due to QtGui.QApplication.processEvents() goodness.
That makes a world of different when you're working on geometry and still are
able to navigate in the viewer while debugging your geometry, its priceless.
What I'd love to know is how I can mimic this behaviour in wxPython?
This would make a world of difference for me.