---
title: panelType()
framework: InputMethodKit
role: symbol
role_heading: Instance Method
platforms: [macOS 10.5+]
path: inputmethodkit/imkcandidates/paneltype()
---

# panelType()

Returns the style of the candidates window.

## Declaration

```swift
func panelType() -> IMKCandidatePanelType
```

## Return Value

Return Value A IMKCandidatePanelType constant that represents the style of the candidates window.

## See Also

### Managing Window Type and Text Attributes

- [setPanelType(_:)](inputmethodkit/imkcandidates/setpaneltype(_:).md)
- [setAttributes(_:)](inputmethodkit/imkcandidates/setattributes(_:).md)
- [attributes()](inputmethodkit/imkcandidates/attributes().md)
