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:

Wolfram Research (1996), ButtonData, Wolfram Language function, https://reference.wolfram.com/language/ref/ButtonData.html.

Text

Wolfram Research (1996), ButtonData, Wolfram Language function, https://reference.wolfram.com/language/ref/ButtonData.html.

CMS

Wolfram Language. 1996. "ButtonData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ButtonData.html.

APA

Wolfram Language. (1996). ButtonData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ButtonData.html

BibTeX

@misc{reference.wolfram_2024_buttondata, author="Wolfram Research", title="{ButtonData}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/ButtonData.html}", note=[Accessed: 13-July-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_buttondata, organization={Wolfram Research}, title={ButtonData}, year={1996}, url={https://reference.wolfram.com/language/ref/ButtonData.html}, note=[Accessed: 13-July-2024 ]}