Instance Method

becomeMainWindow

Invoked automatically to inform the window that it has become the main window; never invoke this method directly.

Declaration

- (void)becomeMainWindow;

Discussion

This method posts an NSWindowDidBecomeMainNotification to the default notification center.

See Also

Managing Main Status

mainWindow

A Boolean value that indicates whether the window is the application’s main window.

canBecomeMainWindow

A Boolean value that indicates whether the window can become the application’s main window.

- makeMainWindow

Makes the window the main window.

- resignMainWindow

Invoked automatically when the window resigns main window status; never invoke this method directly.