Mathematica 9 is now available

InputNotebookNotebookObject

ButtonNotebook

FilledSmallSquareButtonNotebook[ ] gives the notebook, if any, that contains the button which initiated the current evaluation.

FilledSmallSquareButtonNotebook returns a NotebookObject.

FilledSmallSquare If a button in a palette initiates evaluation in another notebook, then ButtonNotebook[ ] will be the palette, but EvaluationNotebook[ ] will be the other notebook.

FilledSmallSquare If the current evaluation was not initiated by a button, then ButtonNotebook[ ] will return $Failed.

FilledSmallSquare See The Mathematica Book: Section 2.10.3.

FilledSmallSquare See also: Notebooks, EvaluationNotebook, SelectedNotebook, InputNotebook.

InputNotebookNotebookObject



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.