I read that that class NSWindows
has some of its own events, but I could not find a list of all them. I believe there is an event that occurs when the window becomes deactivated.
Does such an event exist?
I read that that class NSWindows
has some of its own events, but I could not find a list of all them. I believe there is an event that occurs when the window becomes deactivated.
Does such an event exist?
Events and notifications are two different things, but you probably want NSWindowDelegate Protocol Reference.
Try NSWindowDidResignKeyNotification notification, but it's not Event.
Or in NSWindow subclass overload the -(void)resignKeyWindow method.