Re: getting the window id from anywhere in the program?
Re: getting the window id from anywhere in the program?
- Subject: Re: getting the window id from anywhere in the program?
- From: j o a r <email@hidden>
- Date: Thu, 1 May 2003 23:53:50 +0200
All instances of NSView (and subclasses) knows what window they are
currently inserted in:
NSWindow *window = [myView window];
j o a r
On Thursday, May 1, 2003, at 23:38 Europe/Stockholm, Mark Ogilvie wrote:
Is there a way to get the window number of where something is? For
example if I have an NSTextView and and NSButton in the same window.
The NSButton is linked to an IBAction and for contents of the
NSTextView I can get the NSTextStorage behind the view. Is there a way
to get the window id as well?
_______________________________________________
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.