Re: toplevel window from an object
Re: toplevel window from an object
- Subject: Re: toplevel window from an object
- From: Andy Lee <email@hidden>
- Date: Thu, 21 Mar 2002 13:46:45 -0500
At 3:16 PM +0100 3/21/02, Guillaume Rager wrote:
i just want to know how to find the toplevel window of a given
object (such as a nsbutton, for example)
Something like [object toplevelWindow] exists ?
You can ask any NSView for its window:
[myButton window]
--Andy
_______________________________________________
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.