Instance Property

parentWindow

The parent window to which the window is attached as a child.

Declaration

@property(weak) NSWindow *parentWindow;

Discussion

This property should be set from a subclass when it is overridden by a subclass’s implementation. It should not be set otherwise.

Note that calling orderOut: on a child window causes the window to be removed from its parent window before it is itself removed.

See Also

Managing Attached Windows

childWindows

An array of the window’s attached child windows.

- addChildWindow:ordered:

Adds a given window as a child window of the window.

- removeChildWindow:

Detaches a given child window from the window.