From e2e856edaf8bdec7ca09ff01cd19c7e600528ab1 2014-09-17 17:49:09 From: Thomas Kluyver Date: 2014-09-17 17:49:09 Subject: [PATCH] Add module-level access to register method --- diff --git a/IPython/lib/inputhook.py b/IPython/lib/inputhook.py index a324ad6..3b9700e 100644 --- a/IPython/lib/inputhook.py +++ b/IPython/lib/inputhook.py @@ -546,6 +546,7 @@ current_gui = inputhook_manager.current_gui clear_app_refs = inputhook_manager.clear_app_refs enable_gui = inputhook_manager.enable_gui disable_gui = inputhook_manager.disable_gui +register = inputhook_manager.register guis = inputhook_manager.guihooks # Deprecated methods: kept for backwards compatibility, do not use in new code