---
title: WKWebExtension.WindowConfiguration
framework: webkit
role: symbol
role_heading: Class
path: webkit/wkwebextension/windowconfiguration
---

# WKWebExtension.WindowConfiguration

An object that encapsulates configuration options for a window in an extension.

## Declaration

```swift
@MainActor class WindowConfiguration
```

## Overview

Overview This class holds various options that influence the behavior and initial state of a window. The app retains the discretion to disregard any or all of these options, or even opt not to create a window.

## Topics

### Instance Properties

- [frame](webkit/wkwebextension/windowconfiguration/frame.md)
- [shouldBeFocused](webkit/wkwebextension/windowconfiguration/shouldbefocused.md)
- [shouldBePrivate](webkit/wkwebextension/windowconfiguration/shouldbeprivate.md)
- [tabURLs](webkit/wkwebextension/windowconfiguration/taburls.md)
- [tabs](webkit/wkwebextension/windowconfiguration/tabs.md)
- [windowState](webkit/wkwebextension/windowconfiguration/windowstate.md)
- [windowType](webkit/wkwebextension/windowconfiguration/windowtype.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)

## See Also

### Classes

- [WKWebExtension.Action](webkit/wkwebextension/action.md)
- [WKWebExtension.Command](webkit/wkwebextension/command.md)
- [WKWebExtension.DataRecord](webkit/wkwebextension/datarecord.md)
- [WKWebExtension.MatchPattern](webkit/wkwebextension/matchpattern.md)
- [WKWebExtension.MessagePort](webkit/wkwebextension/messageport.md)
- [WKWebExtension.TabConfiguration](webkit/wkwebextension/tabconfiguration.md)
- [WKWebExtensionController.Configuration](webkit/wkwebextensioncontroller/configuration-swift.class.md)
