Re: Preference Pane Window
Re: Preference Pane Window
- Subject: Re: Preference Pane Window
- From: Aram Greenman <email@hidden>
- Date: Sat, 25 May 2002 23:29:05 -0700
On Saturday, May 25, 2002, at 07:27 PM, Patrick Tescher wrote:
How do I attach a sheet in a preference pane since the System
Preferences
window does not show up in the interface builder.
If you are raising the sheet in your NSPreferencePane subclass
[[self mainView] window] will give you the System Preferences window.
[NSApp beginSheet:sheet
modalForWindow:[[self mainView] window]
modalDelegate:self
didEndSelector:@selector(sheetDidEnd:returnCode:contextInfo:)
contextInfo:nil];
Hope this helps,
Aram
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.