Pad++ Programmer's Guide
Pad++ widgets implement structured, multi-scale graphics such as rectangles, lines, text, and images. These items can be manipulated (e.g. moved or re-colored) and/or associated with commands using event bindings. This is similar to the way that the Tk bind command uses events to associate commands with widgets. For example, a particular command/script may be associated with the <Button-1> event. This command/script is then invoked whenever button 1 is pressed with the mouse cursor over a particular item (or items).
Pad++ is connected to the Tcl scripting language. This provides a high-level interface to its complex graphics and interactions. While Tcl runs slowly, it is used as a glue language for rapidly creating interfaces and putting them together. The actual interaction and rendering on Pad++ widgets are performed by the Pad++ substrate (written in C++). This approach allows people to develop applications for Pad++ at a high level while avoiding the complexities inherent in this type of system. Pad++ also supports Scheme as an alternative to Tcl.
Generated with Harlequin WebMaker