This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

GUIRun

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 filename, 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