From: Bruce S. <ba...@an...> - 2000-09-09 04:10:08
|
To Mike Mueller: I'm not competent to comment on the wxPython question you ask; perhaps someone else will comment. Concerning mouse control of the scene, there are two things to say. I just learned that the display object (which governs overall behavior of the window, such as its height and title) has attributes userzoom and userspin. These are normally set to 1 (true), but you can turn off the capability: somedisplay.userzoom = 0 # user cannot zoom in or out of the scene somedisplay.userspin = 0 # user cannot rotate the scene You can write a program which detects mouse clicks and toggles these features. Dave Scherer has proposed a change to the default behavior: Left button would not zoom unless you hold down some key (such as control), so that left button down would be used for dragging. This would be more intuitive. I have seen new users be confused about dragging with the mouse buttons up. We don't expect to make this change immediately, but it is on the list. Bruce Sherwood |