From: <kc1...@ya...> - 2006-08-10 20:06:36
|
Hi list, What's the proper way to pass parameters to child window? For instance, if I do: cw=model.childWindow(self, childWindowClass(a, b)) and it appears I can't expect that the __init__ routine in childWindowClass be: class childWindowClass(model.Background): def __init__(self, a, b): So, what exactly should I create childWindowClass with? I've been doing it with no parameters and then try to set the parameters of the child window afterwards but that's really ugly. How should I pass parameters to a childWindow? Thanks, -- John Henry |