##// END OF EJS Templates
When a preset is activated fire "preset_activated" event....
When a preset is activated fire "preset_activated" event. On "preset_activated" event, update the value of the maintoolbar select element that lists celltoolbar presets. When a preset is registered after notebook is loaded, active it if needed.

File last commit:

r10447:853e909f
r16533:0f8e453d
Show More
display.py
16 lines | 638 B | text/x-python | PythonLexer
"""Public API for display tools in IPython.
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2012 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.core.display import *
from IPython.lib.display import *