---
title: CGWindowLevelKey
framework: coregraphics
role: symbol
role_heading: Enumeration
path: coregraphics/cgwindowlevelkey
---

# CGWindowLevelKey

Keys that represent the standard window levels in macOS. Quartz includes these keys to support application frameworks like Cocoa. Applications do not need to use them directly.

## Declaration

```swift
enum CGWindowLevelKey
```

## Topics

### Constants

- [CGWindowLevelKey.baseWindow](coregraphics/cgwindowlevelkey/basewindow.md)
- [CGWindowLevelKey.minimumWindow](coregraphics/cgwindowlevelkey/minimumwindow.md)
- [CGWindowLevelKey.desktopWindow](coregraphics/cgwindowlevelkey/desktopwindow.md)
- [CGWindowLevelKey.backstopMenu](coregraphics/cgwindowlevelkey/backstopmenu.md)
- [CGWindowLevelKey.normalWindow](coregraphics/cgwindowlevelkey/normalwindow.md)
- [CGWindowLevelKey.floatingWindow](coregraphics/cgwindowlevelkey/floatingwindow.md)
- [CGWindowLevelKey.tornOffMenuWindow](coregraphics/cgwindowlevelkey/tornoffmenuwindow.md)
- [CGWindowLevelKey.dockWindow](coregraphics/cgwindowlevelkey/dockwindow.md)
- [CGWindowLevelKey.mainMenuWindow](coregraphics/cgwindowlevelkey/mainmenuwindow.md)
- [CGWindowLevelKey.statusWindow](coregraphics/cgwindowlevelkey/statuswindow.md)
- [CGWindowLevelKey.modalPanelWindow](coregraphics/cgwindowlevelkey/modalpanelwindow.md)
- [CGWindowLevelKey.popUpMenuWindow](coregraphics/cgwindowlevelkey/popupmenuwindow.md)
- [CGWindowLevelKey.draggingWindow](coregraphics/cgwindowlevelkey/draggingwindow.md)
- [CGWindowLevelKey.screenSaverWindow](coregraphics/cgwindowlevelkey/screensaverwindow.md)
- [CGWindowLevelKey.maximumWindow](coregraphics/cgwindowlevelkey/maximumwindow.md)
- [CGWindowLevelKey.overlayWindow](coregraphics/cgwindowlevelkey/overlaywindow.md)
- [CGWindowLevelKey.helpWindow](coregraphics/cgwindowlevelkey/helpwindow.md)
- [CGWindowLevelKey.utilityWindow](coregraphics/cgwindowlevelkey/utilitywindow.md)
- [CGWindowLevelKey.desktopIconWindow](coregraphics/cgwindowlevelkey/desktopiconwindow.md)
- [CGWindowLevelKey.cursorWindow](coregraphics/cgwindowlevelkey/cursorwindow.md)
- [CGWindowLevelKey.assistiveTechHighWindow](coregraphics/cgwindowlevelkey/assistivetechhighwindow.md)
- [CGWindowLevelKey.numberOfWindowLevelKeys](coregraphics/cgwindowlevelkey/numberofwindowlevelkeys.md)

### Initializers

- [init(rawValue:)](coregraphics/cgwindowlevelkey/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Enumerations

- [CGCaptureOptions](coregraphics/cgcaptureoptions.md)
- [CGColorConversionInfoTransformType](coregraphics/cgcolorconversioninfotransformtype.md)
- [CGColorRenderingIntent](coregraphics/cgcolorrenderingintent.md)
- [CGConfigureOption](coregraphics/cgconfigureoption.md)
- [CGDisplayChangeSummaryFlags](coregraphics/cgdisplaychangesummaryflags.md)
- [CGDisplayStreamFrameStatus](coregraphics/cgdisplaystreamframestatus.md)
- [CGDisplayStreamUpdateRectType](coregraphics/cgdisplaystreamupdaterecttype.md)
- [CGError](coregraphics/cgerror.md)
- [CGEventField](coregraphics/cgeventfield.md)
- [CGEventFilterMask](coregraphics/cgeventfiltermask.md)
- [CGEventFlags](coregraphics/cgeventflags.md)
- [CGEventMouseSubtype](coregraphics/cgeventmousesubtype.md)
- [CGEventSourceStateID](coregraphics/cgeventsourcestateid.md)
- [CGEventSuppressionState](coregraphics/cgeventsuppressionstate.md)
- [CGEventTapLocation](coregraphics/cgeventtaplocation.md)
