get_widget_by_text
Locate a widget in a Tkinter application by searching its text content. Returns the widget ID of the matching element.
Instructions
Find a widget by its text content.
Searches the widget tree for a widget containing the specified text. Returns the widget ID if found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to search for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |