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

Method disable_wx

pydev_ipython/inputhook.py:170–177  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

168 return app
169
170 def disable_wx(self):
171 """Disable event loop integration with wxPython.
172
173 This merely sets PyOS_InputHook to NULL.
174 """
175 if GUI_WX in self._apps:
176 self._apps[GUI_WX]._in_event_loop = False
177 self.clear_inputhook()
178
179 def enable_qt(self, app=None):
180 from pydev_ipython.qt_for_kernel import QT_API, QT_API_PYQT5, QT_API_PYQT6

Callers

nothing calls this directly

Calls 1

clear_inputhookMethod · 0.95

Tested by

no test coverage detected