|
From: Craig A. S. Ph.D. <cra...@ma...> - 2009-06-19 22:03:19
|
Hello,
I'm trying to develop an interactive application with two windows: one
in which a user drags a sphere around; another which plots a graph
(using gdisplay and gcurve).
When I use only the display, I can drag the sphere around fine, using
code similar to the toroid_drag.py example. When I add the graph
display, my first window doesn't receive left mouse button events
anymore and the sphere doesn't move. The order of window creation
doesn't change anything.
How can I have two windows and interactivity? I'm using VPython 5.1,
MacPython 2.6.2, on OS X 10.5.7.
Craig
--
Craig A. Struble, Ph.D. | 369 Cudahy Hall | Marquette University
Associate Professor of Computer Science | (414)288-3783
Director, Master of Bioinformatics Program | (414)288-5472 (fax)
http://www.mscs.mu.edu/~cstruble | cra...@ma...
|