|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
ButtonFunction
ButtonFunction
is an option for the low-level function ButtonBox that specifies the function to execute when the button is active and is clicked.
DetailsDetails
- The default setting for ButtonFunction causes the button to paste its contents at your current notebook selection.
- ButtonFunction is used only with the setting Enabled->True, either for the individual button or for the cell that contains it.
- With ButtonFunction->f, the first argument supplied to f is specified by the setting for ButtonSource, and the second argument by the setting for ButtonData.
- Standard Mathematica precedence rules require parentheses in ButtonFunction->(body&).
- Settings for ButtonFunction are often inherited from button styles via the ButtonStyle option.
- With the default setting Evaluator->None, the expression constructed from the button function is sent to the front end for evaluation.
New in 3
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
