GetNewtWorksTools
newtAppBase:GetNewtWorksTools(dataTypeSym)
Returns an array of tools registered under a particular symbol.
DISCUSSION
- dataTypeSym
- The
dataTypeSymbol
to look for among the registered tools. This is used to match thedataTypeSymbol
slot in the toolFrame specified when the tool was registered. To get all the tools registered for all data types, passnil
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.
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.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help