GUIKit`
GUIKit`

SetPropertyValue

The functionality provided by GUIKit has been superseded by the interface construction and controls functions native to the built-in Wolfram Language.

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.

更多信息和选项

  • To use SetPropertyValue, you first need to load GUIKit using Needs["GUIKit`"].
  • The following option can be given:
  • NameNonea name with which to register the property value within the widget registry

范例

打开所有单元关闭所有单元

基本范例  (1)

Run an interface definition:

Set the "text" property of the "FirstArgumentField" widget:

Options  (1)

Name  (1)

Run an interface definition:

Set a property value and register the value with the name "savedArgument" in the widget registry:

Now this value can be referenced separately using WidgetReference:

Wolfram Research (2007),SetPropertyValue,Wolfram 语言函数,https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html.

文本

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_2024_setpropertyvalue, author="Wolfram Research", title="{SetPropertyValue}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GUIKit/ref/SetPropertyValue.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

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