get_widget_value
Retrieve the current value of a Tkinter widget by its ID. Handles Entry, Scale, Combobox, Checkbutton, Radiobutton, Listbox, and Spinbox types.
Instructions
Get the value of a widget based on its type.
Returns the appropriate value for the widget type:
Entry/Text: text content
Scale: numeric value
Combobox: selected text
Checkbutton: boolean (checked/unchecked)
Radiobutton: variable value
Listbox: list of selected item texts
Spinbox: current value
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| widget_id | Yes | The widget ID from get_ui_layout() |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |