Is there a type of change event for data input inputs such as Entry, Text, Spinner, Checkbutton, Radiobutton? As a result of changing the value of the value, I mean the ability to detect when the value of the widget has changed due to keyboard activity or cutting / deleting / pasting (and editing the text Edit_undo / edit_redo)? I do not see such an event described in the documentation for the Tkinter event [1].
Is it a suitable technique to bind Tkinter variables to widget values ββthat I want to track and use these .trace_variable ('w', ...) methods to bind to value changes? This seems like the right approach, but I have not seen much use of trace_variable () in the source code of the Tkinter application, which I studied, which made me cautious in using this approach.
[1] http://infohost.nmt.edu/tcc/help/pubs/tkinter/events.html
source share