• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: toplevel window from an object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >toplevel window from an object (From: Guillaume Rager <email@hidden>)

  • Prev by Date: Re: Dragging Images And Strings Together
  • Next by Date: Re: How can I open an Internet connection
  • Previous by thread: toplevel window from an object
  • Next by thread: Re: toplevel window from an object
  • Index(es):
    • Date
    • Thread