ButtonFunction

ButtonFunction

是低级函数 ButtonBox 的一个选项,用以指定当按钮激活且被点击时将执行的函数.

更多信息

范例

基本范例  (2)

创建一个按钮,该按钮在被点击时打开一个新的笔记本:

用 Wolfram 语言内核函数完成同样的任务:

Wolfram Research (1996),ButtonFunction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ButtonFunction.html.

文本

Wolfram Research (1996),ButtonFunction,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ButtonFunction.html.

CMS

Wolfram 语言. 1996. "ButtonFunction." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ButtonFunction.html.

APA

Wolfram 语言. (1996). ButtonFunction. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ButtonFunction.html 年

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_buttonfunction, organization={Wolfram Research}, title={ButtonFunction}, year={1996}, url={https://reference.wolfram.com/language/ref/ButtonFunction.html}, note=[Accessed: 21-November-2024 ]}