[Tkinter-discuss] simple way of clearing out a text widget

Cam Farnell msa01 at bitflipper.ca
Mon Aug 11 17:54:42 CEST 2008


Well one of the best ways is to read the manual first. Some quite reasonable TkInter documentation is available here:

http://infohost.nmt.edu/tcc/help/pubs/tkinter/

You might look for documentation on the Text widget and then "Methods on Text widgets". The Text widget is pretty good at dealing with text; I'm sure there will be some way of getting rid of unwanted text.

Cam



Alexnb wrote:
> I am wondering, what is the best way to clear out a text widget. If it
> matters, I will still want to use that text widget again. 


More information about the Tkinter-discuss mailing list