ToolClickScript
protoDrawTool:
ToolClickScript(unit)
Called when user taps on this template's tool in the tool bar.
DISCUSSION
- 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.
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.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help