GUIKit`
GUIKit`

GUIRun

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

GUIRun[src]

loads and runs an interface definition in a modeless state and returns immediately with a GUIObject expression that represents the live interface.

GUIRun[src,args]

passes arguments to the interface definition.

更多信息和选项

  • To use GUIRun, you first need to load GUIKit using Needs["GUIKit`"].
  • src can be a file name, a user interface expression definition, an XMLDocument interface expression, or a GUIObject.
  • If arguments are included, they are passed as arguments to the interface definition and are available from the widget registry through the names "##", "#1", "#2", and so forth.
  • The following options can be given:
  • ReleaseMethodAutomaticdetermines when a GUIObject is released
    IncludedScriptContexts{}extends the active $ContextPath that Script blocks use

范例

基本范例  (1)

Run an interface definition:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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