ABU 8-oct-2006 - Penpad Widget 1.0
ABU 11-oct-2006 - Just some small corrections (sample code).
Penpad is a small widget for free-hand drawing.
Penpad provides an interactive control (widget) for simple drawing tasks.
With this control, users can draw their scribble, as well as make a signature (autograph) for document exchange.
Penpad is just a simple widget that needs to be integrated with a toolbar or other interactive controls in a complete application.
HOW TO USE IT
Included demos will show you how to add a penpad to your applications.
Basically, in order to activate a penpad you only need to add 3 lines:
package require Penpad penpad .penbox pack .penbox
There are few other (optional) commands you can use for customizing the penpad (read below).
# change the look .penbox configure -pencolor white -bg black # save your drawings on a file (a .gif) .penbox export mywork.gif # clean your penpad .penbox clean
For full details, read the "Penpad Reference" [L3 ] within the doc directory.
Wish list (need help)
Please add your comments below.
WJP If you are REALLY ambitious you could add to the wish list:
GS The work is almost done. See [L4 ]