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

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 reffered window.


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.