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.

Details and Options

  • 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.

Examples

Basic Examples  (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 Language function, https://reference.wolfram.com/language/GUIKit/ref/SetWidgetReference.html.

Text

Wolfram Research (2007), SetWidgetReference, Wolfram Language function, https://reference.wolfram.com/language/GUIKit/ref/SetWidgetReference.html.

CMS

Wolfram Language. 2007. "SetWidgetReference." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GUIKit/ref/SetWidgetReference.html.

APA

Wolfram Language. (2007). SetWidgetReference. Wolfram Language & System Documentation Center. Retrieved from 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: 23-December-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: 23-December-2024 ]}