Re: Help building GUI with Tix - solution

2007-07-03 Thread infidel
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(

Help building GUI with Tix

2007-07-03 Thread infidel
I am trying to build a GUI using the Tix module. What I want is a paned window with a tree in the left pane and a notebook in the right pane. I keep getting an error that I don't understand when adding these widgets to the panes: PythonWin 2.5.1 (r251:54863, May 1 2007, 17:47:05) [MSC v.1310 32