click_widget
Clicks a QGIS button, checkbox, or tool button by object name or visible text; the click is deferred so modal dialogs do not block the calling client.
Instructions
Click a button/checkbox/tool button by objectName or visible text (for QActions / menu items use trigger_action).
The click is deferred; the reply is immediate, so a modal dialog it opens does not block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| index | No | ||
| window | Yes | ||
| object_name | No |