QCapturableWindow#

Used for getting the basic information of a capturable window. More

New in version 6.6.

Synopsis#

Properties#

Functions#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

The class contains a set of window information, except the method isValid which pulls the current state whenever it’s called.

See also

QWindowCapture

class PySide6.QtMultimedia.QCapturableWindow#

PySide6.QtMultimedia.QCapturableWindow(other)

Parameters:

otherPySide6.QtMultimedia.QCapturableWindow

Constructs a null capturable window information that doesn’t refer to any window.

Construct a new window information using other QCapturableWindow .

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property PᅟySide6.QtMultimedia.QCapturableWindow.description: str#
Access functions:
property PᅟySide6.QtMultimedia.QCapturableWindow.isValid: bool#
Access functions:
PySide6.QtMultimedia.QCapturableWindow.description()#
Return type:

str

Returns a description of the window. In most cases it represents the window title.

Getter of property description .

PySide6.QtMultimedia.QCapturableWindow.isValid()#
Return type:

bool

Identifies whether a window information is valid.

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

Returns true if the window is valid, and false if it is not.

Getter of property isValid .

PySide6.QtMultimedia.QCapturableWindow.__ne__(rhs)#
Parameters:

rhsPySide6.QtMultimedia.QCapturableWindow

Return type:

bool

Returns true if window information lhs and rhs refer to different windows, otherwise returns false.

PySide6.QtMultimedia.QCapturableWindow.swap(other)#
Parameters:

otherPySide6.QtMultimedia.QCapturableWindow

Swaps the current window information with other.