[vtk-developers] Missing ConfigureEvent in VTK Cocoa

Sean McBride sean at rogue-research.com
Mon Dec 23 13:48:39 EST 2013


On Mon, 23 Dec 2013 11:21:37 -0700, David Gobbi said:

>What is the best way to capture a change in the NSView size?
>
>The semantics are simple: immediately after the view size has changed
>(i.e. whatever rectangular region corresponds to the vtkRenderWindow),
>a ConfigureEvent is invoked.  At the time when ConfigureEvent is invoked,
>the view must have already achieved its new size.

We can use the NSViewFrameDidChangeNotification notification, similar to how we already use NSWindowWillCloseNotification.

Cheers,

-- 
____________________________________________________________
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