Non-working selector...
Non-working selector...
- Subject: Non-working selector...
- From: Pete Parks <email@hidden>
- Date: Mon, 31 Mar 2003 00:31:35 -0800
What am I doing wrong here? I'm trying to use a selector that will be a
callback for my NSPanel that I have turned into a Sheet for my Main
window. Is there something special about using the didEndSelector?
- (void)showUpdateDialog: (NSWindow *)window panelPtr: (id) panel {
if (! panel)
[NSBundle loadNibNamed: nibString owner: self];
[NSApp beginSheet: panel
modalForWindow: window
modalDelegate: nil
didEndSelector: @selector(clickedButtonInPanel:
)
contextInfo: nil ];
[NSApp runModalForWindow: panel];
[NSApp endSheet: panel];
[panel orderOut: self];
}
-(void) clickedButtonInPanel: (id) sender {
// perform mouse click action
}
Pete Parks
_______________________________________________
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.