Re: NSWindow Question
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