The Tk validate widget command of the entry and spinbox widgets has no tkinter wrapper and is currently reachable only through tk.call().
pathName validate forces an evaluation of the -validatecommand, independently of the conditions specified by the -validate option (by temporarily setting -validate to all), and returns whether the value is valid.
I propose to add the corresponding Entry.validate() and Spinbox.validate() methods.
Linked PRs
The Tk
validatewidget command of the entry and spinbox widgets has no tkinter wrapper and is currently reachable only throughtk.call().pathName validateforces an evaluation of the-validatecommand, independently of the conditions specified by the-validateoption (by temporarily setting-validatetoall), and returns whether the value is valid.I propose to add the corresponding
Entry.validate()andSpinbox.validate()methods.Linked PRs