DEPRECATED since IPython 5.0 Enable event loop integration with Gtk3 (gir bindings). Parameters ---------- app : ignored Ignored, it's only a placeholder to keep the call signature of all gui activation methods consistent, which simplifies the
(self, app=None)
| 624 | @inputhook_manager.register('gtk3') |
| 625 | class Gtk3InputHook(InputHookBase): |
| 626 | def enable(self, app=None): |
| 627 | """DEPRECATED since IPython 5.0 |
| 628 | |
| 629 | Enable event loop integration with Gtk3 (gir bindings). |
| 630 | |
| 631 | Parameters |
| 632 | ---------- |
| 633 | app : ignored |
| 634 | Ignored, it's only a placeholder to keep the call signature of all |
| 635 | gui activation methods consistent, which simplifies the logic of |
| 636 | supporting magics. |
| 637 | |
| 638 | Notes |
| 639 | ----- |
| 640 | This methods sets the PyOS_InputHook for Gtk3, which allows |
| 641 | the Gtk3 to integrate with terminal based applications like |
| 642 | IPython. |
| 643 | """ |
| 644 | warn("This function is deprecated since IPython 5.0 and will be removed in future versions.", |
| 645 | DeprecationWarning, stacklevel=2) |
| 646 | from IPython.lib.inputhookgtk3 import inputhook_gtk3 |
| 647 | self.manager.set_inputhook(inputhook_gtk3) |
| 648 | |
| 649 | |
| 650 | clear_inputhook = inputhook_manager.clear_inputhook |
nothing calls this directly
no test coverage detected