in reply to Re: Tk::Entry widget with textvariable and validatecommand
in thread Tk::Entry widget with textvariable and validatecommand

Hi beech

Thanks for the reply. Generally there's nothing wrong with using bindings or after, but to me they feel like more or less ugly or cumbersome workarounds here. Usually Tk widgets have everything built in, what is required to use them. I thought that correcting an erroneous entry could be a common use case of an Entry widget, but maybe it's not.

Anyway thanks for pointing me to afterIdle; might be a bit more robust than using after with some random timing value.

Cheers,
petro4213

  • Comment on Re^2: Tk::Entry widget with textvariable and validatecommand