ButtonData

ButtonData

is an option for the low-level function ButtonBox that specifies the second argument to give to the ButtonFunction for the button when the button is active and is clicked.

Details

  • The default is ButtonData->Automatic.
  • ButtonData provides a convenient way to associate additional data with a button that does not affect the display of the button.

Examples

Basic Examples  (1)

Create a button that prints out its ButtonData value:

In[1]:=
Click for copyable input

See Also

Button  ButtonSource

Introduced in 1996
(3.0)