- Qt 6.10
- Qt Multimedia
- QML Types
- CapturableWindow
- Qt 6.10.2 Reference Documentation

# CapturableWindow QML Value Type

The CapturableWindow type is used getting basic of a window that is available for capturing via WindowCapture. More...

Import Statement: | `import QtMultimedia`
Since: | Qt 6.6
In C++: | QCapturableWindow

## Properties

- description : string
- isValid : string

## Detailed Description

The class contains a dump of window information, except the property 'isValid' which pulls the actual window state every time.

A CapturableWindow instance can be implicitly constructed from a Window. Application developers can utilize this by passing a QML Window into the 'window' property of a WindowCapture. See the following example.

     Window {
         id: topWindow

         WindowCapture {
             window: topWindow
         }
     }

See also WindowCapture.

## Property Documentation

description : string `[read-only]`

This property holds the description of the window. In most cases it represents the window title.

isValid : string `[read-only]`

This property identifies whether a window information is valid.

An invalid window information refers to non-existing window or doesn't refer to any one.