• 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: NSWindow Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow Question


  • Subject: Re: NSWindow Question
  • From: Lee Ann Rucker <email@hidden>
  • Date: Thu, 29 Oct 2015 20:56:25 +0000
  • Thread-topic: NSWindow Question

windowDidBecomeKey or BecomeMain? Probably Key, if you want the one that got clicked on. Front isn’t all that useful; a window could be key but not front if it has something like a floating tools palette.

Window notifications/delegate methods always start with windowVerb, so searching that pattern is the best way to find them.

> On Oct 29, 2015, at 1:44 PM, Dave <email@hidden> wrote:
>
> Hi,
>
> Is there a method something like didBecomeFrontWindow that get called when a Window becomes the front window because the User Clicked in it and it wasn’t before?
>
> I have a NSWindowController/NSWindow Pair, I’ve looked through the Class references, but can’t see anything?
>
> Thanks a lot
> Dave
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >NSWindow Question (From: Dave <email@hidden>)

  • Prev by Date: NSWindow Question
  • Next by Date: Presenting NSWindowController/NSWindow Pair as a Sheet?
  • Previous by thread: NSWindow Question
  • Next by thread: Presenting NSWindowController/NSWindow Pair as a Sheet?
  • Index(es):
    • Date
    • Thread