Instance Method


Simulates the user clicking the minimize button by momentarily highlighting the button, then minimizing the window.


func performMiniaturize(_ sender: Any?)



The message’s sender.


If the window doesn’t have a minimize button or can’t be minimized for some reason, the system emits the alert sound.

See Also

Minimizing Windows

var isMiniaturized: Bool

A Boolean value that indicates whether the window is minimized.

func miniaturize(Any?)

Removes the window from the screen list and displays the minimized window in the Dock.

func deminiaturize(Any?)

De-minimizes the window.

var miniwindowImage: NSImage?

The custom miniaturized window image of the window.

var miniwindowTitle: String!

The title displayed in the window’s minimized window.