Beispiel #1
0
    def disable_qt4(self):
        """Disable event loop integration with PyQt4.

        This restores appnapp on OS X
        """
        from IPython.external.appnope import nap
        nap()
Beispiel #2
0
    def disable_qt4(self):
        """Disable event loop integration with PyQt4.

        This restores appnapp on OS X
        """
        from IPython.external.appnope import nap
        nap()
Beispiel #3
0
    def disable_qt4(self):
        """Disable event loop integration with PyQt4.

        This merely sets PyOS_InputHook to NULL.
        """
        from IPython.external.appnope import nap
        if GUI_QT4 in self._apps:
            self._apps[GUI_QT4]._in_event_loop = False
        self.clear_inputhook()
        nap()