Yes, I am using TK. I read Validation in Entry, but that gives you option of "focus" on entry box and "key".
But what I need is a separate button for a user to validate it.
(For example, a user may play around with the text in Entry box, but he may not choose to conform to changes and might close the window. So, I want a submit button alongwith it. Only when it is pressed, I'll take the input.)
okay, but I can't think of a logic because -textvariable of entry widget is changed on the go (as and when user types/changes something). So, how do I revert back to original data on a call from -command of button?
(I guess that should have been my exact question, Sorry!)