Instance Method

performMiniaturize(_:)

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

Declaration

func performMiniaturize(_ sender: Any?)

Parameters

sender

The message’s sender.

Discussion

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.