ShellSurface QML Type | Qt Wayland Compositor | Qt 6.11.1
Description: Provides a common interface for surface roles specified by shell extensions.

- Qt 6.11
- Qt Wayland Compositor
- QML Types
- ShellSurface
- Qt Wayland Compositor | Commercial or GPLv3

# ShellSurface QML Type

Provides a common interface for surface roles specified by shell extensions. More...

Import Statement: | `import QtWayland.Compositor`
In C++: | QWaylandShellSurface

- List of all members, including inherited members

## Properties

- modal : bool `(since 6.8)`
- windowType : enum

## Detailed Description

This interface represents a Wayland surface role given by a Wayland protocol extension that defines how the WaylandSurface should map onto the screen.

Note: Even though this type contains a very limited API, the properties and signals of the implementations are named consistently. For example, if you're only using desktop shell extensions in your compositor, it's safe to access properties such as title, maximized, etc. directly on the ShellSurface. See the various implementations for additional properties and signals.

See also WaylandSurface, ShellSurfaceItem, WlShellSurface, and IviSurface.

## Property Documentation

### modal : bool `[read-only, since 6.8]`

This property is true if the ShellSurface represents a modal dialog.

This property was introduced in Qt 6.8.

### windowType : enum `[read-only]`

This property holds the window type of the ShellSurface.