GUIObject
GUIObject[root,args]
represents a live interface instance with root widget root, wrapping the active widgets and environment.
Details and Options
- To use GUIObject, you first need to load GUIKit using Needs["GUIKit`"].
- A GUIObject represents a live interface instance wrapping both the created Java objects as well as the runtime environment associated with the scripting code and Wolfram Language contexts.
- GUIObject objects are comprised mostly of private definitions, but the first argument is a JavaObject instance of the top-level widget in the interface and supports direct J/Link style calls.
- A GUIObject is created whenever GUILoad or GUIRun is called.
- A GUIObject is released interactively when an interface is closed or programmatically using CloseGUIObject or ReleaseGUIObject.
Examples
Basic Examples (1)Summary of the most common use cases

https://wolfram.com/xid/0lvs7o5sbq44qe6-cq153p

https://wolfram.com/xid/0lvs7o5sbq44qe6-owc

The first argument is a normal JavaObject instance:

https://wolfram.com/xid/0lvs7o5sbq44qe6-x8b

Most of the parameters are private environment states that cannot be properly built up manually:

https://wolfram.com/xid/0lvs7o5sbq44qe6-vsj

Many GUIKit functions work with a GUIObject instance:

https://wolfram.com/xid/0lvs7o5sbq44qe6-xia

Release the GUIObject instance:

https://wolfram.com/xid/0lvs7o5sbq44qe6-t49
Wolfram Research (2007), GUIObject, Wolfram Language function, https://reference.wolfram.com/language/GUIKit/ref/GUIObject.html.
Text
Wolfram Research (2007), GUIObject, Wolfram Language function, https://reference.wolfram.com/language/GUIKit/ref/GUIObject.html.
Wolfram Research (2007), GUIObject, Wolfram Language function, https://reference.wolfram.com/language/GUIKit/ref/GUIObject.html.
CMS
Wolfram Language. 2007. "GUIObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GUIKit/ref/GUIObject.html.
Wolfram Language. 2007. "GUIObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GUIKit/ref/GUIObject.html.
APA
Wolfram Language. (2007). GUIObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GUIKit/ref/GUIObject.html
Wolfram Language. (2007). GUIObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GUIKit/ref/GUIObject.html
BibTeX
@misc{reference.wolfram_2025_guiobject, author="Wolfram Research", title="{GUIObject}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GUIKit/ref/GUIObject.html}", note=[Accessed: 02-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_guiobject, organization={Wolfram Research}, title={GUIObject}, year={2007}, url={https://reference.wolfram.com/language/GUIKit/ref/GUIObject.html}, note=[Accessed: 02-April-2025
]}