##// 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:

r1234:52b55407
r16533:0f8e453d
Show More
__init__.py
10 lines | 558 B | text/x-python | PythonLexer
# encoding: utf-8
__docformat__ = "restructuredtext en"
#-------------------------------------------------------------------------------
# Copyright (C) 2005 Fernando Perez <fperez@colorado.edu>
# Brian E Granger <ellisonbg@gmail.com>
# Benjamin Ragan-Kelley <benjaminrk@gmail.com>
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-------------------------------------------------------------------------------