how to close the vtkRenderWindow with program

(pingdan) #1

I create a vtkRenderWindow and display image. when I click the ‘x’ icon on the top right ,the vtkRenderWindow can close. Now I want to know how can I close the window with program code.

(Paulo Carvalho) #2

Are you using Qt?