Disable event loop integration with wxPython. This merely sets PyOS_InputHook to NULL.
(self)
| 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 |
nothing calls this directly
no test coverage detected