From: Kevin A. <ka...@us...> - 2004-04-27 19:28:39
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13978 Modified Files: widget.py Log Message: added redraw method as a standard way of doing Refresh/Update Index: widget.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/widget.py,v retrieving revision 1.117 retrieving revision 1.118 diff -C2 -d -r1.117 -r1.118 *** widget.py 25 Apr 2004 06:26:34 -0000 1.117 --- widget.py 27 Apr 2004 19:28:27 -0000 1.118 *************** *** 199,202 **** --- 199,207 ---- return self.GetBackgroundColour() + def redraw(self): + """Force an immediate redraw without waiting for an event handler to finish.""" + self.Refresh() + self.Update() + # KEA 2004-04-16 # if a subclass overrides any of the methods below then it needs to |