Different predefined alignment options:
Predefined button appearances:
On some platforms, the following appearances are also defined:
Use a second element to get the appearance of a pressed button:
Use a special appearance for the button:
By default the button function does not evaluate until you click it:
By setting
AutoAction, the button function evaluates as you mouse over the button area:
Change the background colors:
Change the background color on every click:
Align with the surrounding text:
Change the baseline position on every button click:
By default,
Button is enabled:
By setting
Enabled->False, the button is disabled but visible in its current state:
By default, the button function is sent to the kernel for evaluation:
By setting
Evaluator, the button function is evaluated in the front end:
Not all functionalities are available in the front end:
By setting
FrameMargins, you make the button content area larger:
By setting
ImageMargins, you make the button area larger:
By setting the second element, you can also control the height:
A fully customized image size:
By default, button functions are evaluated on a preemptive link, which times out after 5 seconds:
Use
Method->"Queued" to evaluate button functions on the main link, which never times out:
Specify that the stop button event needs to preemptively interrupt an evaluation: