From: Kevin A. <ka...@us...> - 2004-04-27 06:07:57
|
Update of /cvsroot/pythoncard/PythonCard/samples/widgets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12639/samples/widgets Modified Files: widgets.py Log Message: removed findId, getIDbyName, getObjectByName replaced findLocalHandler with dictionary lookup Index: widgets.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/widgets/widgets.py,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** widgets.py 25 Apr 2004 03:03:45 -0000 1.35 --- widgets.py 27 Apr 2004 06:07:48 -0000 1.36 *************** *** 29,34 **** background. Compare the method of changing the attribute state in on_chkEnabled_mouseClick ! versus on_chkVisible_mouseClick. I'm using the new findAllComponents method ! to get a list of all the widgets at once. """ --- 29,34 ---- background. Compare the method of changing the attribute state in on_chkEnabled_mouseClick ! versus on_chkVisible_mouseClick. I'm using self.components.itervalues() ! to iterate over a list of all the widgets at once. """ |