[vtkusers] Blocking 'Q' and 'E' keys

T.R.Shashwath trshash84 at gmail.com
Sat Feb 21 11:53:46 EST 2009


On Saturday 21 Feb 2009 5:54:14 pm Alan Mutka wrote:
> I have problems with blocking keys Q and E witch are shutting down
> visualization.
> I have tried adding Observers to keys, setting ExitMethod but without
> success.
> Please help if you had better luck and managed to find solution!
> Thank you!

Hi

The way we worked this out was to add observers directly to the interactor 
(not the style), at a priority of -5, and then calling AbortEvent on the 
command whenever the event hits.

HTH
Shash



More information about the vtkusers mailing list