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

  • To use Widget, you first need to load GUIKit using Needs["GUIKit`"].
  • The following options can be given:
  • InitialArgumentsNonea list of arguments to use in the constructor for this widget instance
    NameNonea 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: