NewtApplication
currentLayout
previousLayout
ShowLayout
func(layout)
. Switches to the specified layout.
target
targetView
GetAppPreferences
func()
. This method returns a preferences frame to which you may add slots for saving state information across application launches. Use a slot with your signature so that you don't collide with slots created by NewtApp. Save the frame by calling SaveAppState
.
SaveAppState
func()
. This saves the current application state in the preferences frame and saves the preferences frame to the soup. If you override this routine, make sure to call the old version.
An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.
Last modified: 1 DEC 1996