<div>Hi</div><div>     I use the observer to get the right mouse button click on a widget,but it dosen't workŁ¬ can anyone tell me the right way to do this?</div><div>    my code as follow</div><div>   vtkCaptionWidget* captionWidget =</div><div><span class="Apple-tab-span" style="white-space:pre">  </span>vtkCaptionWidget::New();</div><div>vtkCaptionCallback* captionCall = vtkCaptionCallback::New();</div><div><div>captionWidget->SetInteractor(this->GetInteractor());</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>captionWidget->SetRepresentation(captionRepresentation);</div><div>     </div><div><span class="Apple-tab-span" style="white-space:pre">       </span>captionWidget->AddObserver(vtkCommand::RightButtonReleaseEvent, captionCall);</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>captionWidget->On();</div><div>}</div></div>