GUIKIT PACKAGE
{}

"Frame"

Widget["Frame"]
represents a complete window.

DetailsDetails

  • To use Widget["Frame"], you first need to load GUIKit using Needs["GUIKit`"].
  • Widget["Frame"] is a container component where you can place all other components with visual content. Widget["Frame"] represents a complete window including any window title bar that, for example, allows you to set the window's text using the property.
  • However, if you are interested in designing reusable complex groups of interacting widgets that can function together as their own compound widget in other user interfaces, it is recommended you build them within a Widget["Panel"] and not Widget["Frame"] because using Widget["Frame"] forces this definition to only be deployable as its own stand-alone window.
  • The following property is available:
  • "title"""window title
  • The following method is available:
  • "dispose"requests that the frame close

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

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

The interface has been resized to display the entire title:

In[3]:=
Click for copyable input
Out[3]=
New to Mathematica? Find your learning path »
Have a question? Ask support »