Deleting items from Tix Tree

anil.pundoor at gmail.com anil.pundoor at gmail.com
Tue Feb 28 08:58:48 EST 2006


hi
 iam using Tix tree widget in my python script. how can i delete the
entire tree. i tried the following

self.msgTree = Tix.Tree(self.msgWin)
self.msgTree.hlist.delete()

but it thorws the following error

    self.msgTree.hlist.delete()
  File "/usr/local/lib/python2.2/lib-tk/Tix.py", line 320, in
__getattr__
    raise AttributeError, name
AttributeError: delete


can some one help me

thanks 
Anil




More information about the Python-list mailing list