From: Kevin A. <ka...@us...> - 2004-09-14 17:33:12
|
Update of /cvsroot/pythoncard/PythonCard/samples/testNotebook In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7657/samples/testNotebook Modified Files: testNotebook.py Log Message: removed pageWindow, changed childWindow to handle Notebook Index: testNotebook.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/testNotebook/testNotebook.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** testNotebook.py 14 Sep 2004 17:28:46 -0000 1.1 --- testNotebook.py 14 Sep 2004 17:33:03 -0000 1.2 *************** *** 24,33 **** ## self.components.notebook.AddPage(frame, 'frame', True) ! win = model.pageWindow(self.components.notebook, minimal.Minimal) self.components.notebook.AddPage(win, 'minimal', True) print "adding page..." print self.components.notebook.GetPage(1).components.field1.text ! win2 = model.pageWindow(self.components.notebook, widgets.WidgetsTest) self.components.notebook.AddPage(win2, 'widgets', True) --- 24,33 ---- ## self.components.notebook.AddPage(frame, 'frame', True) ! win = model.childWindow(self.components.notebook, minimal.Minimal) self.components.notebook.AddPage(win, 'minimal', True) print "adding page..." print self.components.notebook.GetPage(1).components.field1.text ! win2 = model.childWindow(self.components.notebook, widgets.WidgetsTest) self.components.notebook.AddPage(win2, 'widgets', True) |