Contents

CGWindowLevelForKey(_:)

Returns the window level that corresponds to one of the standard window types.

Declaration

func CGWindowLevelForKey(_ key: CGWindowLevelKey) -> CGWindowLevel

Parameters

  • key:

    A window level key constant that represents one of the standard window types. See Cgwindowlevelkey.

Return Value

The window level that corresponds to the specified key.

Discussion

This function is not recommended for use in applications. (This function is provided for application frameworks that create and manage windows, like Cocoa.)

See Also

Functions