From: <jd...@us...> - 2008-06-24 18:06:43
|
Revision: 5666 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5666&view=rev Author: jdh2358 Date: 2008-06-24 11:06:22 -0700 (Tue, 24 Jun 2008) Log Message: ----------- removed draft timeout/idle from backend bases; using events instead Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backend_bases.py Modified: trunk/matplotlib/lib/matplotlib/backend_bases.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backend_bases.py 2008-06-24 18:05:55 UTC (rev 5665) +++ trunk/matplotlib/lib/matplotlib/backend_bases.py 2008-06-24 18:06:22 UTC (rev 5666) @@ -1330,37 +1330,6 @@ newCanvas = FigureCanvasClass(self.figure) return newCanvas - def mpl_idle_add(self, func, *args, **kwargs): - """ - add func to idle handler. The signature of func is:: - - b = func(canvas, *args, **kwargs) - - The function will continue to be called until func returns - False or a call to ``canvas.mpl_remove_source(func)`` - - use :meth:`mpl_source_remove` to remove func from the idle handler. - """ - raise NotImplementedError('GUI backend must override') - - def mpl_timeout_add(self, millisec, func, *args, **kwargs): - """ - add func to timeout handler; func will be called every - millisec. The signature of func is:: - - The function will continue to be called until func returns - False or a call to ``canvas.mpl_remove_source(func)`` - - use :meth:`mpl_source_remove` to remove func from the timeout handler. - """ - raise NotImplementedError('GUI backend must override') - - def mpl_source_remove(self, func): - """ - remove func from idle or timeout handler - """ - raise NotImplementedError('GUI backend must override') - def mpl_connect(self, s, func): """ Connect event with string *s* to *func*. The signature of *func* is:: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |