Megawidget Syntax (Tix)

2006-07-31 Thread Al in Dallas
I'm new to Python*. I am having trouble with the Tix NoteBook megawidget. When I use a simpler megawidget, such as a ButtonBox, I can add buttons by invoking .add ('button3', text='Retry') Unfortunately, with the Notebook, I need access to a subwidget, and all my attempts have led to error messag

Working with Widget after Instance loses the reference

2006-07-31 Thread Al in Dallas
I made the mistake of creating an instance of a widget and assigning it to a name I'd already used. Now, if I use root.children or root.slaves(), I can see the "lost" widget, but can I do anything else with the string of numbers that shows up when I use root.children? I'd like to destory the widget

Re: Working with Widget after Instance loses the reference

2006-08-01 Thread Al in Dallas
John McMonagle wrote: > On Mon, 2006-07-31 at 11:15 -0700, Al in Dallas wrote: [example of "losing" a widget] > Consider the following code run in the python shell: > > >>> from Tkinter import * > >>> r = Tk() > >>> b1 = Button(r, text=&

Re: Megawidget Syntax (Tix)

2006-08-03 Thread Al in Dallas
Al in Dallas wrote: > I'm new to Python*. I am having trouble with the Tix NoteBook > megawidget. When I use a simpler megawidget, such as a ButtonBox, I can > add buttons by invoking > > .add ('button3', text='Retry') > > Unfortunately, with the N