validatecommand

Specifies a script to eval when you want to validate the input into the entry widget. Setting it to () disables this feature (the default).

This command must return #t or #f. If it returns #f then it means you reject the new edition and it will not occur and the invalidcommand will be evaluated if it is set.

If it returns #t, then the new edition occurs. See Validation below for more information.


© Author | Home | Sitemap