how to use SetLeftButtonPressMethod

Sylvain Jaume jaume at
Wed Dec 1 05:05:53 EST 1999


I need to re-define the methods associated with mouse events in C++.
As a beginning I want to set the method 'exit(0)' to the left button
press. I've seen SetLeftButtonPressMethod from class 

Did anybody use this method before and could show me an example?

Thanks a lot in advance!

This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list