GUIRunModal

GUIRunModal[src]
loads and runs an interface definition in a modal state with the kernel and returns a result when finished.


passes arguments to the interface definition.

DetailsDetails

  • To use , you first need to load GUIKit using Needs["GUIKit`"].
  • 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 , , , and so on.
  • The following options can be given:
  • ReleaseMethodAutomaticdetermines when a GUIObject is released
    ReturnScriptNonea script expression to evaluate as the return result
    IncludedScriptContexts{}extends the active $ContextPath that Script blocks use
New to Mathematica? Find your learning path »
Have a question? Ask support »