From: Bruce S. <ba...@an...> - 2001-12-31 22:02:40
|
I have no idea what could cause zooming to crash on one kind of Windows machine. Here is a little program to run on Windows and report whether its output makes sense. Note that zoom and spin are disabled in order to see all possible mouse events. from visual import * scene.userzoom = 0 scene.userspin = 0 box() lab = label() while 1: m = scene.mouse if m.button: lab.text = m.button else: lab.text = 'None' if scene.mouse.events: m = scene.mouse.getevent() if m.press: print 'press', m.press if m.release: print 'release', m.release if m.click: print 'click', m.click if m.drag: print 'drag', m.drag if m.drop: print 'drop', m.drop if m.shift: print 'shift' if m.alt: print 'alt' if m.ctrl: print 'ctrl' print '--------------' |