GUIKit`
GUIKit`

Widget

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

Widget[class:class|path|URL[path],{content}]

defines a new widget instance.

Details and Options

  • To use Widget, you first need to load GUIKit using Needs["GUIKit`"].
  • The following options can be given:
  • InitialArguments Nonea list of arguments to use in the constructor for this widget instance
    Name Nonea name with which to register this instance in the widget registry
    ExposeWidgetReferencesAutomatica list of widget names to expose from an internal definition

Examples

open allclose all

Basic Examples  (1)

Create a widget instance:

Explicitly specify what Java class to use:

Specify constructor arguments:

Options  (2)

InitialArguments  (1)

Name  (1)

Assign a name:

Reference the named widget:

The interface has been resized to display the entire title:

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

Text

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

CMS

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

APA

Wolfram Language. (2007). Widget. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GUIKit/ref/Widget.html

BibTeX

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

BibLaTeX

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