GUILoad

GUILoad[src]
loads an interface definition and returns immediately with a GUIObject result.


passes arguments to the interface definition.

DetailsDetails

  • To use , you first need to load GUIKit using Needs["GUIKit`"].
  • performs the same first steps as GUIRun and GUIRunModal, but stops short of actually displaying the interface to the user.
  • returns a GUIObject expression representing the live interface instance.
  • is useful for manipulating the interface definition before calling GUIRun or GUIRunModal and also for loading classes and preparing the interface in advance to reduce the eventual display time.
  • src can be a file name, a user interface expression definition, an XMLDocument interface expression, or a GUIObject.
  • If arguments are included, they are passed as arguments to the interface definition and are available from the widget registry through the names , , , and so forth.
  • The following options can be given:
  • ReleaseMethodAutomaticdetermines when a GUIObject is released
    IncludedScriptContexts{}extends the active $ContextPath that Script blocks use

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

In[1]:=
Click for copyable input

Load an interface:

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

Manipulate widget settings:

In[3]:=
Click for copyable input

Display the interface:

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

Load an interface and run it in a modal session:

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

Load an interface and release the definition without displaying it:

In[2]:=
Click for copyable input