Adding a New Kind of Data to the Notepad
5. Remove the viewBounds
slot (since there will be no view associated with this dataDef). Remove the icon
slot (or, if you are feeling adventurous, create an appropriate picture and set the icon
slot appropriately). Set the remaining slots to:
symbol
kDataDefSym
superSymbol
'notes
name
"Temperature"
6. Save the layout file as "TemperatureDataDef.t" and add it to your project.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996