Layout Layer
8. Draw a newtOverLayout in the new layout file.
9. Add an OverviewAbstract
slot to the newtOverLayout with the following contents:
10. Save the layout file as "Overview.t" and add it to the project. Move it using the Process Earlier menu item so that it is compiled before the main layout (see FIGURE 10.9).func(target, bbox)
begin
local t := "";
// set the string, t, to a value based on slots
//
from target, a soup entry
return MakeText(t, bbox.left + 18, bbox.top, bbox.right, bbox.bottom - 18);
end;
FIGURE 10.9 : Windows associated with NewtOverLayout.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996