[vtk-developers] Missing [window close] in vtkCocoaRenderWindow
Sean McBride
sean at rogue-research.com
Fri Feb 19 16:04:13 EST 2010
On 2/19/10 1:08 PM, David Gobbi said:
>I have a question for the Cocoa developers out there. The
>vtkCocoaRenderWindow never calls "close" on the NSWindow. All the
>other platform-specific vtkRenderWindow implementations close their
>window in their DestroyWindow() method, but not vtkCocoaRenderWindow.
>Is there a reason for this?
>
>I'm looking for a way to close the window, but the only ways that I
>can find are to (1) press the "close" button in the title bar or (2)
>terminate the application.
There's code in vtkCocoaRenderWindowInteractor that closes the window.
It's all pretty hairy I'm afraid.
Perhaps DestroyWindow should be closing it as well...
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtk-developers
mailing list