Skip to content

Commit

Permalink
Reverting whitespace changes to inputhook.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomi Richards committed Apr 14, 2012
1 parent f20b5ca commit 9bbb9ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions IPython/lib/inputhook.py
Expand Up @@ -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")
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand All @@ -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
"""
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 9bbb9ce

Please sign in to comment.