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)

In[1]:=
Click for copyable input

Create a widget instance:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Explicitly specify what Java class to use:

In[4]:=
Click for copyable input
Out[4]=
In[5]:=
Click for copyable input
Out[5]=

Specify constructor arguments:

In[6]:=
Click for copyable input
Out[6]=
In[7]:=
Click for copyable input
Out[7]=

Options  (2)

See Also

GUILoad  GUIRun  GUIRunModal

Tutorials