# QObject\_iswindowtype

Returns true if the QObject is a window.

## Syntax

* R = QObject\_iswindowtype(h)

## Input argument

* h - an QObject handle.

## Output argument

* R - a logical.

## Description

Returns true if the QObject is a window; otherwise returns false.

## See also

[QObject\_set (set)](qobject_set).

## Example

```matlab
h = errordlg()
r = QObject_iswindowtype(h)
```

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
