[vtkusers] mouse + key board interaction

kshivann at engineering.uiowa.edu kshivann at engineering.uiowa.edu
Fri Mar 28 16:46:18 EDT 2008


hi all,
     i am writing custom widgets which use mouse+keyboard interaction.  
for e.g. crtl + left mouse button. i am using two functions,  
Oncrtlleftmousebuttondown() and Oncrtlleftmousebuttonup().  
Oncrtlleftmousebuttondown() is invoked with crtl+leftmousebuttondown.  
But the Oncrtlleftmousebuttonup() is invoked only if mouse button is  
released followed by the key board interaction. Is there a way to  
invoke Oncrtlleftmousebuttonup() irresspective of the order of the  
release of the events.

thanks

Kiran





More information about the vtkusers mailing list