From 9bbb9ce239fbfc3095db6c9384d22246e019f76a Mon Sep 17 00:00:00 2001 From: Thomi Richards Date: Sun, 15 Apr 2012 10:18:33 +1200 Subject: [PATCH] Reverting whitespace changes to inputhook.py. --- IPython/lib/inputhook.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/IPython/lib/inputhook.py b/IPython/lib/inputhook.py index 83dd7cbbffe..a90f1d65947 100644 --- a/IPython/lib/inputhook.py +++ b/IPython/lib/inputhook.py @@ -101,7 +101,7 @@ class InputHookManager(object): This class installs various hooks under ``PyOSInputHook`` to handle GUI event loop integration. """ - + def __init__(self): if ctypes is None: warn("IPython GUI event loop requires ctypes, %gui will not be available\n") @@ -223,7 +223,7 @@ def disable_wx(self): def enable_qt4(self, app=None): """Enable event loop integration with PyQt4. - + Parameters ---------- app : Qt Application, optional. @@ -289,7 +289,7 @@ def enable_gtk(self, app=None): def disable_gtk(self): """Disable event loop integration with PyGTK. - + This merely sets PyOS_InputHook to NULL. """ self.clear_inputhook() @@ -320,7 +320,7 @@ def enable_tk(self, app=None): def disable_tk(self): """Disable event loop integration with Tkinter. - + This merely sets PyOS_InputHook to NULL. """ self.clear_inputhook() @@ -346,7 +346,7 @@ def enable_glut(self, app=None): without first creating a window. You should thus not create another window but use instead the created one. See 'gui-glut.py' in the docs/examples/lib directory. - + The default screen mode is set to: glut.GLUT_DOUBLE | glut.GLUT_RGBA | glut.GLUT_DEPTH """ @@ -380,7 +380,7 @@ def enable_glut(self, app=None): def disable_glut(self): """Disable event loop integration with glut. - + This sets PyOS_InputHook to NULL and set the display function to a dummy one and set the timer to a dummy timer that will be triggered very far in the future.