[IPython-dev] Event rename_notebook.Notebook

Konrad Hinsen konrad.hinsen at fastmail.net
Mon Jun 23 10:23:31 EDT 2014


Andrew Payne writes:

 >     I am trying to catch notebook rename events, using the event
 >     rename_notebook.Notebook. However, my explorations show that when this
 >     event is triggered, the notebook still has its previous name.
 > 
 > Does the notebook_renamed.Notebook event give you what you want?   It looks like it's
 > triggered after the rename. Here's the relevant fragment from notebook.js (dev head):

That one works, thanks!

BTW, is there a list of events somewhere, ideally with some documentation?

Konrad.



More information about the IPython-dev mailing list