WOLFRAM

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

Details

  • FrontEndEventActions->{"event1":>action1,"event2":>action2,} specifies that actioni should be evaluated whenever "eventi" occurs in connection with the notebook.
  • The possible event specifications are the same as for EventHandler.
  • 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.

Examples

Basic Examples  (1)Summary of the most common use cases

Record a history of notebooks that have been saved:

Out[2]=2
Wolfram Research (2007), FrontEndEventActions, Wolfram Language function, https://reference.wolfram.com/language/ref/FrontEndEventActions.html.
Wolfram Research (2007), FrontEndEventActions, Wolfram Language function, https://reference.wolfram.com/language/ref/FrontEndEventActions.html.

Text

Wolfram Research (2007), FrontEndEventActions, Wolfram Language function, https://reference.wolfram.com/language/ref/FrontEndEventActions.html.

Wolfram Research (2007), FrontEndEventActions, Wolfram Language function, https://reference.wolfram.com/language/ref/FrontEndEventActions.html.

CMS

Wolfram Language. 2007. "FrontEndEventActions." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FrontEndEventActions.html.

Wolfram Language. 2007. "FrontEndEventActions." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FrontEndEventActions.html.

APA

Wolfram Language. (2007). FrontEndEventActions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FrontEndEventActions.html

Wolfram Language. (2007). FrontEndEventActions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FrontEndEventActions.html

BibTeX

@misc{reference.wolfram_2025_frontendeventactions, author="Wolfram Research", title="{FrontEndEventActions}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/FrontEndEventActions.html}", note=[Accessed: 28-April-2025 ]}

@misc{reference.wolfram_2025_frontendeventactions, author="Wolfram Research", title="{FrontEndEventActions}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/FrontEndEventActions.html}", note=[Accessed: 28-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_frontendeventactions, organization={Wolfram Research}, title={FrontEndEventActions}, year={2007}, url={https://reference.wolfram.com/language/ref/FrontEndEventActions.html}, note=[Accessed: 28-April-2025 ]}

@online{reference.wolfram_2025_frontendeventactions, organization={Wolfram Research}, title={FrontEndEventActions}, year={2007}, url={https://reference.wolfram.com/language/ref/FrontEndEventActions.html}, note=[Accessed: 28-April-2025 ]}