FrontEndEventActions

FrontEndEventActions

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)

Record a history of notebooks that have been saved:

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.

CMS

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_frontendeventactions, organization={Wolfram Research}, title={FrontEndEventActions}, year={2007}, url={https://reference.wolfram.com/language/ref/FrontEndEventActions.html}, note=[Accessed: 21-December-2024 ]}