9.22. Fun Things to Try
The Quick Draw application doesn't do much that is useful, but here are some ideas for features to add to the application:
Add the capability to print to a PostScript file.
Create a Save Drawing feature that will loop through all the items and write out their types and coordinates to a text file. Of course, you'll need a Load Drawing feature as well.
Allow the user to create text items.
Add an entry widget that lets you change the color (by typing in a colorname) with which to draw the items.
Get Learning Perl/Tk now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.