Re: closing a sheet from another controller

2010-06-24 Thread Graham Cox
On 24/06/2010, at 11:09 PM, John Love wrote: > I use one of the standard approaches to opening a NSWindowController sheet; > that is, my external Controller calls: > > [NSApp beginSheet:...] > > each of the IB buttons are connected via IBActions that close the sheet via: > > [NSAp

closing a sheet from another controller

2010-06-24 Thread John Love
I use one of the standard approaches to opening a NSWindowController sheet; that is, my external Controller calls: [NSApp beginSheet:...] each of the IB buttons are connected via IBActions that close the sheet via: [NSApp stopModal]; // sender = NSButton and [sender window] =