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.

更多信息和选项

  • 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.

范例

基本范例  (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 语言函数,https://reference.wolfram.com/language/GUIKit/ref/GUIObjectQ.html.

文本

Wolfram Research (2007),GUIObjectQ,Wolfram 语言函数,https://reference.wolfram.com/language/GUIKit/ref/GUIObjectQ.html.

CMS

Wolfram 语言. 2007. "GUIObjectQ." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/GUIKit/ref/GUIObjectQ.html.

APA

Wolfram 语言. (2007). GUIObjectQ. Wolfram 语言与系统参考资料中心. 追溯自 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: 18-November-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: 18-November-2024 ]}