Gadget Scripts

Gadget scripts are associated with Mathwright32 Gadgets. The Mathwright32 Gadgets are:

When a "script" is created for any of these, it is automatically saved with the document. The script describes the action taken when the gadget is used.

Using Graph2D windows, for example, you may create "User-Draw" Pushbuttons with arbitrary gifs or bitmaps and designs as wallpaper, and these may respond to the buttonclick by changing wallpaper if you wish. For more ambitious authors, you may create palettes by detecting where in the window the button was clicked (using getpoint) before processing.