Re: Tkinter: ability to delete widgets from Text and then re-add them

2006-05-13 Thread nholtz
I now see that I can accomplish what I want using the Canvas widget, instead of the Text widget (I.e., I can create a window on it, delete the window, then re add it without recreating the underlying widget object). As I don't want the raw contents user-editable, I guess its better to use a

Tkinter: ability to delete widgets from Text and then re-add them

2006-05-12 Thread nholtz
Is there any way to delete a widget (window) from a Text widget, and then add it back to the Text, without re-creating the original widget. For example, I think I would like to do something like the following: ## from Tkinter import * root

Re: Tkinter: ability to delete widgets from Text and then re-add them

2006-05-12 Thread nholtz
Sigh. Of course, near the middle is supposed to be: delete the last one from Text widget = widgets[-1] -- http://mail.python.org/mailman/listinfo/python-list