Thanks John,
That works, the problem was that I had written
self.answer_ent.grid.delete(0.0, END)
However when I replaced the 0.0 with a 0, it worked
fine.
At least I found a work around but your idea is much
more elegant.
David
--- John Fouhy <[EMAIL PROTECTED]> wrote:
> David Holland wrote:
>
I have written a simple test your maths program.
There is just one question, how do you clear the text
in a tkinter widget ?
The only way that I could do it was to create a
function to create the entry widget and then have it
re-created. Is there a better way.
This is the way I did :-
def cr