| 
		
	
		
		
			
			 
				
				Exit callback from MOUSEMOVE_EVENT
			 
			 
			
		
		
		
			
			How can I end a callback-function? 
 
def mymousemove(horz, vert): 
	print 'My mouse moved to: ', horz, vert 
 
viz.callback(viz.MOUSEMOVE_EVENT, mymousemove) 
 
Not important, just to tell you why I need this: 
The new idea to add User interaction is to put some sliders in the scene e.g. on the table.  
I was thinking about something like this: as soon as the user clicks on his/her mouse (with a tracker-light taped to it) in a certain area of the scene, a UserInterfaceFunction to change a certain slider is called (identification by position). 
When he drags the mouse now to a certain position and releases the mouse it changes something in the room, e.g. the light... 
 
When he releases the mouse button the callback-function for mousemoved should exit (performance...), how do I do that? 
 
Johannes
		 
		
		
		
		
		
		
		
		
	
	 |