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 Viewdef Slots and Methods

The slots in the viewDef that are used by Newton Works are as follows.

Slot descriptions

symbol
Must be the symbol 'default for the main viewDef.
statusLeftButtons
Optional. An array of button frames to put in the left portion of the status bar, after the "New" button. The status bar will be updated with the buttons in this array whenever the viewDef appears. For more details on this array, see the menuLeftButtons slot in the newtStatusBar proto in Newton ProgrammerŐs Reference .
statusRightButtons
Optional. An array of button frames to put in the right portion of the status bar, before the routing and filing buttons. The status bar will be updated with the buttons in this array whenever the viewDef appears. For more details on this array, see the menuRightButtons slot in the newtStatusBar proto in Newton ProgrammerŐs Reference .
helpManual
Optional. A frame defining the help book to open. This is the same as the newtApplication helpManual slot. This frame must be a book frame as produced by Newton Book Maker.
viewHelpTopic
Optional. A string specifying the location to which the help book is to open. This string must match one of the .subject lines in the help book.
The following methods are also expected or optional in the viewDef.


Subtopics
DoHelp
FindChange
GetScrollableRect
GetScrollValues
GetTotalHeight
GetTotalWidth
PrefsChanged
SaveData
Scroll
ToolsChanged
UpdateAllScrollers
UpdateStatusBar

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