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


looks up an existing widget instance using identifier id and return the underlying object.

Details and Options

  • To use WidgetReference, you first need to load GUIKit using Needs["GUIKit`"].
  • WidgetReference is used to find an existing widget instance and return the underlying object; it never creates a new instance. It is most useful if you want to pass the object from a widget to another function.
  • Other interface definition functions can assign names or identifiers to widgets to make them available for lookup.


Basic Examples  (1)

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

With the underlying object you can call methods that are not exposed as properties:

It is also possible to call a method of a named widget using InvokeMethod:

Wolfram Research (2007), WidgetReference, Wolfram Language function,


Wolfram Research (2007), WidgetReference, Wolfram Language function,


Wolfram Language. 2007. "WidgetReference." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2007). WidgetReference. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2022_widgetreference, author="Wolfram Research", title="{WidgetReference}", year="2007", howpublished="\url{}", note=[Accessed: 03-December-2022 ]}


@online{reference.wolfram_2022_widgetreference, organization={Wolfram Research}, title={WidgetReference}, year={2007}, url={}, note=[Accessed: 03-December-2022 ]}