GUIKit`
GUIKit`

GUIObjectQ

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

GUIObjectQ[ref]

returns True if ref is an active GUIObject and otherwise returns False.

Details and Options

  • To use GUIObjectQ, you first need to load GUIKit using Needs["GUIKit`"].
  • GUIObjectQ is used to determine whether ref represents a live interface.
  • Live interfaces are typically terminated either when the user closes the window by calling CloseGUIObject or ReleaseGUIObject.

Examples

Basic Examples  (1)

Create a GUIObject instance and assign it to a variable:

With the interface still running, test whether the variable references an active GUIObject:

Force the interface to terminate and release its resources:

Test whether the variable still references an active GUIObject:

Wolfram Research (2007), GUIObjectQ, Wolfram Language function, https://reference.wolfram.com/language/GUIKit/ref/GUIObjectQ.html.

Text

Wolfram Research (2007), GUIObjectQ, Wolfram Language function, https://reference.wolfram.com/language/GUIKit/ref/GUIObjectQ.html.

CMS

Wolfram Language. 2007. "GUIObjectQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GUIKit/ref/GUIObjectQ.html.

APA

Wolfram Language. (2007). GUIObjectQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GUIKit/ref/GUIObjectQ.html

BibTeX

@misc{reference.wolfram_2024_guiobjectq, author="Wolfram Research", title="{GUIObjectQ}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GUIKit/ref/GUIObjectQ.html}", note=[Accessed: 05-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_guiobjectq, organization={Wolfram Research}, title={GUIObjectQ}, year={2007}, url={https://reference.wolfram.com/language/GUIKit/ref/GUIObjectQ.html}, note=[Accessed: 05-October-2024 ]}