GUIKit`
GUIKit`

SetWidgetReference

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

SetWidgetReference[name,value]

registers a widget with string name in the widget registry for the current interface.

更多信息和选项

  • To use SetWidgetReference, you first need to load GUIKit using Needs["GUIKit`"].
  • SetWidgetReference is used to define or replace an associated string name with a given widget within the widget registry of the current script or when used with a GUIObject.

范例

基本范例  (1)

WidgetReference allows you to use a name to access the underlying object:

You can use this object to create a new reference to the widget:

Now there are two names, and both reference the same widget:

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

文本

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_setwidgetreference, author="Wolfram Research", title="{SetWidgetReference}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GUIKit/ref/SetWidgetReference.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

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