NTK Templates
_proto
slots in NTK, you do not see _parent
slots. This is because templates and protos don't contain _parent
slots, only views do. For those templates that have children, NTK adds a stepChildren
slot, which is an array of templates. At runtime, the view system reads that slot and creates child views based on the slot. The view system then sets up the _parent
slot in the view. This topic is discussed in complete detail in "How Views Are Created" on page 142. You will not see the stepChildren
array in the browser either. NTK creates the array as it builds the application.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996