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


Scoping of Widget References

Widgets created within a user interface definition can be named and registered in an object registry for easy lookup reference by script code and other widgets. Complete interface definitions can also be reused within other definitions and when the issue of scoping access to widget references arises. Here are two design issues to keep in mind when working with widget references.

Scoping of Scripts

Script blocks are typically used within interface definitions to define Wolfram Language programming functions, dynamically change the state of interface widgets, and bind events from widgets into calls to Wolfram Language functions. Since this involves the Wolfram Language kernel and multiple interface definitions with their own script code running at the same time, the question of script code scoping and their use of kernel contexts arises. Here are several design issues to keep in mind when developing Script code blocks.