##// END OF EJS Templates
Reverting whitespace changes to inputhook.py.
Thomi Richards -
Show More
@@ -101,7 +101,7 b' class InputHookManager(object):'
101 101 This class installs various hooks under ``PyOSInputHook`` to handle
102 102 GUI event loop integration.
103 103 """
104
104
105 105 def __init__(self):
106 106 if ctypes is None:
107 107 warn("IPython GUI event loop requires ctypes, %gui will not be available\n")
@@ -223,7 +223,7 b' class InputHookManager(object):'
223 223
224 224 def enable_qt4(self, app=None):
225 225 """Enable event loop integration with PyQt4.
226
226
227 227 Parameters
228 228 ----------
229 229 app : Qt Application, optional.
@@ -289,7 +289,7 b' class InputHookManager(object):'
289 289
290 290 def disable_gtk(self):
291 291 """Disable event loop integration with PyGTK.
292
292
293 293 This merely sets PyOS_InputHook to NULL.
294 294 """
295 295 self.clear_inputhook()
@@ -320,7 +320,7 b' class InputHookManager(object):'
320 320
321 321 def disable_tk(self):
322 322 """Disable event loop integration with Tkinter.
323
323
324 324 This merely sets PyOS_InputHook to NULL.
325 325 """
326 326 self.clear_inputhook()
@@ -346,7 +346,7 b' class InputHookManager(object):'
346 346 without first creating a window. You should thus not create another
347 347 window but use instead the created one. See 'gui-glut.py' in the
348 348 docs/examples/lib directory.
349
349
350 350 The default screen mode is set to:
351 351 glut.GLUT_DOUBLE | glut.GLUT_RGBA | glut.GLUT_DEPTH
352 352 """
@@ -380,7 +380,7 b' class InputHookManager(object):'
380 380
381 381 def disable_glut(self):
382 382 """Disable event loop integration with glut.
383
383
384 384 This sets PyOS_InputHook to NULL and set the display function to a
385 385 dummy one and set the timer to a dummy timer that will be triggered
386 386 very far in the future.
General Comments 0
You need to be logged in to leave comments. Login now