docstr: DEPRECATED since IPython 5.0
  
  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.
code: def disable(self):
      """DEPRECATED since IPython 5.0
  
      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.
      """
      warn(
          "This function is deprecated since IPython 5.0 and will be removed in future versions.",
          DeprecationWarning,
          stacklevel=2,
      )
      import OpenGL.GLUT as glut
      from glut_support import glutMainLoopEvent
  
      glut.glutHideWindow()  # This is an event to be processed below
      glutMainLoopEvent()
      super(GlutInputHook, self).disable()
  
imports: import os
  import platform
  import sys
  from distutils.version import LooseVersion
  from warnings import warn
label_desc: Use image node_id 2 for calling the GlutInputHook obj's underlying member method code with example usage: obj.disable() without return types