<< QObject_classname QML engine QObject_get >>

QObject_findchildren


Returns all children of this object with the given name.


Syntax


hr = QObject_findchildren(h, objectName, recursive)

Input argument


h

an QObject handle.

objectName

a string.

recursive

a logical: true (The search is performed recursively).

Output argument


hr

a vector of QObject handle.

Description


Returns all children of this object with the given name.

See also


QObject_set (set), QObject_get (get).

Example


h1 = errordlg()
h2 = errordlg()
hr = QObject_findchildren(QObject_root(), 'errordlg', true)

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< QObject_classname QML engine QObject_get >>