MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / disable_qt4

Method disable_qt4

pydev_ipython/inputhook.py:221–228  ·  view source on GitHub ↗

Disable event loop integration with PyQt4. This merely sets PyOS_InputHook to NULL.

(self)

Source from the content-addressed store, hash-verified

219 return app
220
221 def disable_qt4(self):
222 """Disable event loop integration with PyQt4.
223
224 This merely sets PyOS_InputHook to NULL.
225 """
226 if GUI_QT4 in self._apps:
227 self._apps[GUI_QT4]._in_event_loop = False
228 self.clear_inputhook()
229
230 def enable_qt5(self, app=None):
231 from pydev_ipython.inputhookqt5 import create_inputhook_qt5

Callers

nothing calls this directly

Calls 1

clear_inputhookMethod · 0.95

Tested by

no test coverage detected