GUIKit`
GUIKit`

GUILoad

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

GUILoad[src]

loads an interface definition and returns immediately with a GUIObject result.

GUILoad[src,args]

passes arguments to the interface definition.

Details and Options

  • To use GUILoad, you first need to load GUIKit using Needs["GUIKit`"].
  • GUILoad performs the same first steps as GUIRun and GUIRunModal, but stops short of actually displaying the interface to the user.
  • GUILoad returns a GUIObject expression representing the live interface instance.
  • GUILoad is useful for manipulating the interface definition before calling GUIRun or GUIRunModal and also for loading classes and preparing the interface in advance to reduce the eventual display time.
  • 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

Examples

Basic Examples  (3)

Load an interface:

Manipulate widget settings:

Display the interface:

Load an interface and run it in a modal session:

Load an interface and release the definition without displaying it:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2023_guiload, organization={Wolfram Research}, title={GUILoad}, year={2007}, url={https://reference.wolfram.com/language/GUIKit/ref/GUILoad.html}, note=[Accessed: 19-March-2024 ]}