Tix Note Book

A

anil.pundoor

hi

am using Tix notebook and i have two frames in that. am adding some
widgets in to both of the frames. now i want to delete all of the
widgets in one of the frame. i dont want to delete the frame, but its
childres.
so how can i get the sub widgets within that frame.

Thanks in advance
Anil
 
M

Martin Franklin

hi

am using Tix notebook and i have two frames in that. am adding some
widgets in to both of the frames. now i want to delete all of the
widgets in one of the frame. i dont want to delete the frame, but its
childres.
so how can i get the sub widgets within that frame.

Thanks in advance
Anil


Anil,


Standard Tkinter widgets have a .children so for your frame widget
try printing the value of yourframe.children like so:-

Python 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
HTH
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,289
Messages
2,571,435
Members
48,120
Latest member
Natbelix

Latest Threads

Top