qt_invoke_slot
Invoke a Qt QObject slot or method using a widget reference and method name to trigger application behavior programmatically.
Instructions
Invoke a slot or method on a QObject.
Args: ref: Widget ref from qt_snapshot. method_name: Slot/method name to invoke.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| instance | No | ||
| method_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |