ReleaseGUIObject

ReleaseGUIObject[obj]
closes and terminates all resources of a live GUIObject instance.

DetailsDetails

  • To use , you first need to load GUIKit using Needs["GUIKit`"].
  • programmatically ends an interface's session (which is normally ended interactively by user actions such as closing the window), both closing and disposing of all related resources.
  • forces the termination of interface resources even if an initial GUIRun might have requested that the interface live on past its closing by using the option ReleaseMethod->Manual.
  • Use CloseGUIObject instead of to ensure the original life cycle intent of a GUIRun call.

ExamplesExamplesopen allclose all

Basic Examples (1)Basic Examples (1)

In[1]:=
Click for copyable input

Create a live interface object:

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

Verify that the interface is active:

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

Remove its resources:

In[4]:=
Click for copyable input

Confirm that the interface is no longer valid:

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