May 2018
Beginner to intermediate
452 pages
11h 26m
English
Tkinter's validation system is one of those parts of the toolkit that is less than intuitive. It relies on the following three configuration options that we can pass into any input widget:
This seems pretty straightforward, but there are some unexpected curves.
The values we can pass to validate are as follows:
| Validates string | Triggers when |
| none | It is none that turns off validation |
| focusin | The user enters or selects the widget |
| unfocus | The user ... |
Read now
Unlock full access