[docs] ScrolledText Destroying Bug
Abdullah Urker
urkera at gmail.com
Sat May 14 23:26:05 CEST 2011
Hi I am Abdullah ÜRKER from Turkey. I am using Python and Tkinter for a
while, but i have never used ScrolledText object until to night. It works
great but when i try to destroy it i suprised because Text is destroyed but
Scrollbar was still there.
My os is Windows XP Service Pack 3, Python version is 2.7.1 and
Tkinter.__version__ is "$Revision: 81008 $"
Here is an example code:
*from Tkinter import *
from ScrolledText import ScrolledText
root=Tk()
button=Button(text="Remove Text!")
button.pack()
Text=ScrolledText()
Text.pack()
def remove():
Text.destroy()
button.config(command=remove)
root.mainloop()*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20110515/0014fc78/attachment.html>
More information about the docs
mailing list