qt_object_tree
Inspect the full QObject parent-child tree for a Qt application or widget from a chosen root, including non-visible objects, with an optional traversal depth limit.
Instructions
Get the full QObject parent-child tree (not just visible widgets).
Args: root_ref: Starting ref. Defaults to QApplication root. max_depth: Maximum traversal depth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | ||
| root_ref | No | ||
| max_depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |