Tells the delegate that the window has become main.
On This Page
optional func windowDidBecomeMain(_ notification: Notification)
A notification named didBecomeMainNotification.
You can retrieve the window object in question by sending object to notification.
Tells the delegate that the window has resigned main window status.