[vtk-developers] Missing ConfigureEvent in VTK Cocoa

David Gobbi david.gobbi at gmail.com
Mon Dec 23 13:54:29 EST 2013


On Mon, Dec 23, 2013 at 11:48 AM, Sean McBride <sean at rogue-research.com> wrote:
> 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.

Thanks.  I'll try that and see how it works.

  David



More information about the vtk-developers mailing list