Re: problem extending tkSimpleDialog.Dialog

2005-08-12 Thread William Gill
Problem solved. I was not properly passing the master widget reference in my frame classes class MyWidget(Frame): def __init__(self, master, columns,rows, trace_write=None): Frame.__init__(self) # here's my mistake ... ... ... should have been: class MyWidget(F

Re: problem extending tkSimpleDialog.Dialog

2005-08-12 Thread William Gill
I'm still hammering away, and have found that when I change: class testWidget(Frame): def __init__(self, master): Frame.__init__(self) self.createWidgets() def createWidgets(self): Label(self,text="testWidget").grid() to: def __init__(self, master):

problem extending tkSimpleDialog.Dialog

2005-08-12 Thread William Gill
I have created a widget that extends Frame() and contains labels, checkboxes, and entrys. I am trying to use tkSimpleDialog.Dialog to create a modal display of this widget, but am running into some (addressing) problems. My widget displays in the parent widget, not the tkSimpleDialog.Dialog?