Instance Method

orderFront:

Moves the window to the front of its level in the screen list, without changing either the key window or the main window.

Declaration

- (void)orderFront:(id)sender;

Parameters

sender

The message’s sender.

Discussion

The default animation based on the window type will be used when the window is ordered front unless it has been modified by the animationBehavior property.

See Also

Managing Window Layers

- orderOut:

Removes the window from the screen list, which hides the window.

- orderBack:

Moves the window to the back of its level in the screen list, without changing either the key window or the main window.

- orderFrontRegardless

Moves the window to the front of its level, even if its application isn’t active, without changing either the key window or the main window.

- orderWindow:relativeTo:

Repositions the window’s window device in the window server’s screen list.

level

The window level of the window.

NSWindowLevel

The standard window levels in macOS.