<div><span class="gmail_quote"><br></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>I have writen a new VTK 5.x style widget. In order to write a test for it I need to store the Interactor events in a file. I tried using the vtkInteractorEventRecorder to record the events. 
<br>The method GrabFocus() is called when the widget is selected by a MouseButtonPress event, which makes the widget exclusively grab all events invoked by its vtkRenderWindowInteractor. Thus when the widget is selected by a MouseButtonPress event, the vtkInteractorEventRecorder does not recieve the following MouseMoveEvent&nbsp; or MouseButtonReleaseEvent. 
<br>In this situation how do I use the vtkInteractorEventRecorder to record the events. <br>Any suggestion on the topic will be helpful. <br><br>thanks,<br><span class="sg">Piali<br>
</span></blockquote></div><br>