GUIKit`
GUIKit`

GUIObject

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

GUIObject[root,args]

represents a live interface instance with root widget root, wrapping the active widgets and environment.

更多信息和选项

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

范例

基本范例  (1)

Create a GUIObject instance:

The first argument is a normal JavaObject instance:

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

Many GUIKit functions work with a GUIObject instance:

Release the GUIObject instance:

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

文本

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

CMS

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

APA

Wolfram 语言. (2007). GUIObject. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/GUIKit/ref/GUIObject.html 年

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_guiobject, organization={Wolfram Research}, title={GUIObject}, year={2007}, url={https://reference.wolfram.com/language/GUIKit/ref/GUIObject.html}, note=[Accessed: 24-November-2024 ]}