SetPropertyValue[name,value]
sets a widget property value.
SetPropertyValue[{target,name},value] or SetPropertyValue[{target,name}->value]
sets a widget property value, specifying the target widget.
SetPropertyValue[{target,name,index},value] or SetPropertyValue[{target,name,index}->value]
sets an indexed widget property value, specifying the target widget.
SetPropertyValue
SetPropertyValue[name,value]
sets a widget property value.
SetPropertyValue[{target,name},value] or SetPropertyValue[{target,name}->value]
sets a widget property value, specifying the target widget.
SetPropertyValue[{target,name,index},value] or SetPropertyValue[{target,name,index}->value]
sets an indexed widget property value, specifying the target widget.
范例
打开所有单元 关闭所有单元基本范例 (1)
Options (1)
Name (1)
Needs["GUIKit`"]ref = GUIRun["Wolfram/Example/Calculator"]Set a property value and register the value with the name "savedArgument" in the widget registry:
ref@SetPropertyValue[{"FirstArgumentField", "text"}, 5, Name -> "savedArgument"]Now this value can be referenced separately using WidgetReference:
ref@WidgetReference["savedArgument"]相关指南
文本
Wolfram Research (2007),SetPropertyValue,Wolfram 语言函数,https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html.
CMS
Wolfram 语言. 2007. "SetPropertyValue." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html.
APA
Wolfram 语言. (2007). SetPropertyValue. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html 年
BibTeX
@misc{reference.wolfram_2026_setpropertyvalue, author="Wolfram Research", title="{SetPropertyValue}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html}", note=[Accessed: 08-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_setpropertyvalue, organization={Wolfram Research}, title={SetPropertyValue}, year={2007}, url={https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html}, note=[Accessed: 08-August-2026]}