remove entries in the gui
hi all,
every time when i run the same script for the second,third... times ,the previous entries are displayed by default as highlighted in the below snapshot.i want to clear these entries each time i run .
thanks in advance
regards,
JAMIE
Answers
-
You can clear highlight in a tk entry widget with pathName selection clear. If you want to clear text in an entry widget, use pathName delete 0 end.
0 -
Altair Forum User said:
You can clear highlight in a tk entry widget with pathName selection clear. If you want to clear text in an entry widget, use pathName delete 0 end.
HEY akitoguc
its not working....
0 -
when you created the entry widget, i am sure that you give it a -textvariable option,
example
entry .entOutputPath -textvariable varOutputPath
then you can clear it by
set ::varOutputPath ''
0