Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 1 - Newton Works / Newton Works Interface Reference
Newton Works Base Application Slots and Methods /


GetNewtWorksTools

newtAppBase:GetNewtWorksTools(dataTypeSym)

Returns an array of tools registered under a particular symbol.

dataTypeSym
The dataTypeSymbol to look for among the registered tools. This is used to match the dataTypeSymbol slot in the toolFrame specified when the tool was registered. To get all the tools registered for all data types, pass nil for this parameter.

return value
Returns an array containing the tools identified by dataTypeSym. The array contains the frames passed in the toolFrame parameter to the *RegNewtWorksTool method. If no tools were found, an empty array is returned.

DISCUSSION

Use this method to return all tools registered for a particular Newton Works stationery application. For example, *GetNewtWorksTools('paper) returns an array of all the tools registered for the Word Processor, since 'paper is it's dataDef symbol.


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