Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


is an option for the notebook front end that gives a list of actions to perform when specified user-interface events occur.


  • FrontEndEventActions->{"event1":>action1,"event2":>action2,} specifies that should be evaluated whenever occurs in connection with the notebook.
  • The possible event specifications are the same as for EventHandler, with the following addition:
  • "WindowClose"window being closed
  • FrontEndEventActions is set as an option for $FrontEnd.
  • By default, any action specified for an event by FrontEndEventActions will override any default action that the Wolfram System would take for that event.
  • The default behavior can be changed by including rules for PassEventsDown in the list given as the setting for FrontEndEventActions.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Set up the front end to track the window title of notebooks that are being closed:

Click for copyable input
Click for copyable input
Click for copyable input
Click for copyable input
Introduced in 2007