Re: select a window
Re: select a window
- Subject: Re: select a window
- From: Tjark Derlien <email@hidden>
- Date: Fri, 7 Apr 2006 12:47:58 +0200
I'm not sure what you want in detail, but did you try NSApplication's
"- (NSWindow *)keyWindow"? This method returns the windows that is
currently key (receives keyboard events). Another candidate might be
"- (NSWindow *)mainWindow".
To get the document associated with a window, you can use
NSDocumentController's "- (id)documentForWindow:(NSWindow *)window".
- Tjark
Am 07.04.2006 um 10:52 schrieb Yorh:
Hi to all,
I wrote an app that use NSWindowController class.
I need to know the when I select a certain window.
I have a a controller and a lot of NSWindowController objects ...
Is there any methods to know the selected window?
Thank you all
Yorh
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40derlien.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden