From fc3585ec1bf977a3276c4b13a428354669fa4bee 2011-07-30 02:27:29 From: Fernando Perez Date: 2011-07-30 02:27:29 Subject: [PATCH] Small fix to docstring and qt example. --- diff --git a/IPython/lib/guisupport.py b/IPython/lib/guisupport.py old mode 100644 new mode 100755 index 1b9519b..46fec4c --- a/IPython/lib/guisupport.py +++ b/IPython/lib/guisupport.py @@ -132,6 +132,8 @@ def start_event_loop_qt4(app=None): if app is None: app = get_app_qt4(['']) if not is_event_loop_running_qt4(app): + from .inputhook import enable_qt4 + #enable_qt4(app) app._in_event_loop = True app.exec_() app._in_event_loop = False diff --git a/IPython/lib/inputhook.py b/IPython/lib/inputhook.py index a165694..9f8eccb 100755 --- a/IPython/lib/inputhook.py +++ b/IPython/lib/inputhook.py @@ -259,8 +259,8 @@ class InputHookManager(object): Parameters ---------- app : toplevel :class:`Tkinter.Tk` widget, optional. - Running application to use. If not given, we probe Qt for an - existing application object, and create a new one if none is found. + Running toplevel widget to use. If not given, we probe Tk for an + existing one, and create a new one if none is found. Notes -----