Newton Works Viewdef Slots and Methods
The slots in the viewDef that are used by Newton Works are as follows.Slot descriptions
The following methods are also expected or optional in the viewDef.
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 thenewtStatusBar
proto inNewton 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 thenewtStatusBar
proto inNewton 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 abook
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.
Subtopics
- DoHelp
- FindChange
- GetScrollableRect
- GetScrollValues
- GetTotalHeight
- GetTotalWidth
- PrefsChanged
- SaveData
- Scroll
- ToolsChanged
- UpdateAllScrollers
- UpdateStatusBar
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help