GUIRunModal[src]
loads and runs an interface definition in a modal state with the kernel and returns a result when finished.
GUIRunModal[src,args]
passes arguments to the interface definition.
GUIRunModal
GUIRunModal[src]
loads and runs an interface definition in a modal state with the kernel and returns a result when finished.
GUIRunModal[src,args]
passes arguments to the interface definition.
更多信息和选项
- To use GUIRunModal, you first need to load GUIKit using Needs["GUIKit`"].
- GUIRunModal does not return control to the kernel until the interface is closed.
- 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 on.
- The following options can be given:
-
ReleaseMethod Automatic determines when a GUIObject is released ReturnScript None a script expression to evaluate as the return result IncludedScriptContexts {} extends the active $ContextPath that Script blocks use
相关指南
文本
Wolfram Research (2007),GUIRunModal,Wolfram 语言函数,https://reference.wolfram.com/language/GUIKit/ref/GUIRunModal.html.
CMS
Wolfram 语言. 2007. "GUIRunModal." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/GUIKit/ref/GUIRunModal.html.
APA
Wolfram 语言. (2007). GUIRunModal. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/GUIKit/ref/GUIRunModal.html 年
BibTeX
@misc{reference.wolfram_2025_guirunmodal, author="Wolfram Research", title="{GUIRunModal}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GUIKit/ref/GUIRunModal.html}", note=[Accessed: 01-May-2026]}
BibLaTeX
@online{reference.wolfram_2025_guirunmodal, organization={Wolfram Research}, title={GUIRunModal}, year={2007}, url={https://reference.wolfram.com/language/GUIKit/ref/GUIRunModal.html}, note=[Accessed: 01-May-2026]}