CGWindowLevelForKey(_:)
Returns the window level that corresponds to one of the standard window types.
Declaration
func CGWindowLevelForKey(_ key: CGWindowLevelKey) -> CGWindowLevelParameters
- 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
CGAcquireDisplayFadeReservation(_:_:)CGAssociateMouseAndMouseCursorPosition(_:)CGBeginDisplayConfiguration(_:)CGCancelDisplayConfiguration(_:)CGCaptureAllDisplays()CGCaptureAllDisplaysWithOptions(_:)CGCompleteDisplayConfiguration(_:_:)CGConfigureDisplayFadeEffect(_:_:_:_:_:_:)CGConfigureDisplayMirrorOfDisplay(_:_:_:)CGConfigureDisplayMode(_:_:_:)CGConfigureDisplayOrigin(_:_:_:_:)CGConfigureDisplayStereoOperation(_:_:_:_:)CGConfigureDisplayWithDisplayMode(_:_:_:_:)CGCursorIsDrawnInFramebuffer()CGCursorIsVisible()