"Button"

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

Widget["Button"]

represents a button.

Details

  • To use Widget["Button"], you first need to load GUIKit using Needs["GUIKit`"].
  • The following properties are available:
  • "text"""text label
    "enabled"Truewhether the button is enabled
    "icon"Nonea TemplateBox[{Widget, paclet:GUIKit/ref/Widget, GUIKit Package Symbol}, PackageLink, BaseStyle -> 3ColumnTableMod][TemplateBox[{"Icon", paclet:GUIKit/ref/Widget/Icon, GUIKit Package Symbol}, PackageLink, BaseStyle -> 3ColumnTableMod]] to display
  • The following event is available:
  • "action"the event triggered when the button is clicked

Examples

Basic Examples  (1)

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

See Also

Widget  Button

Tutorials