Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 2 - Newton Works Draw Application / Draw Application Reference
Proto / protoDrawTool


ToolClickScript

protoDrawTool:ToolClickScript(unit)

Called when user taps on this template's tool in the tool bar.

unit
Stroke unit passed to this method by the recognition system. For information on stroke units, see Chapter 9, "Recognition," in Newton Programmer's Guide.

return value
You can return anything; it is ignored.

DISCUSSION

This function lets the tool do its own tracking of the click. For example, the stamps tool uses this method to display a slip containing the stamp bitmaps. If you override this method, call the inherited *ToolClickScript method.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help