##// END OF EJS Templates
Merge branch 'pyglet' by Nicolas Rougier, with minor fixes....
Merge branch 'pyglet' by Nicolas Rougier, with minor fixes. This adds pyglet event loop integration with a new 'pyglet' option for the --gui flag and %gui magic. The internal implementation is fairly similar to the one for Wx integration.

File last commit:

r4693:cd8ca027
r4805:7511bc62 merge
Show More
__init__.py
29 lines | 982 B | text/x-python | PythonLexer
# encoding: utf-8
"""
Extra capabilities for IPython
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2009 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.lib.inputhook import (
enable_wx, disable_wx,
enable_gtk, disable_gtk,
enable_qt4, disable_qt4,
enable_tk, disable_tk,
enable_pyglet, disable_pyglet,
set_inputhook, clear_inputhook,
current_gui
)
#-----------------------------------------------------------------------------
# Code
#-----------------------------------------------------------------------------