Help building GUI with Tix - solution

infidel saint.infidel at gmail.com
Tue Jul 3 14:16:58 EDT 2007


I figured it out after finding an example somewhere:

>>> import Tix
>>> app = Tix.Tk("Demo")
>>> panes = Tix.PanedWindow(app)
>>> left = panes.add('left')
>>> right = panes.add('right')
>>> tree = Tix.Tree(left)
>>> notebook = Tix.NoteBook(right)
>>> tree.pack()
>>> notebook.pack()
>>> panes.pack()
>>> app.mainloop()




More information about the Python-list mailing list