beautypg.com

Summary of additional system services 17, Undo 17, Idlers 17 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 643: Notification and alarms 17

background image

C H A P T E R 1 7

Additional System Services

Summary of Additional System Services

17-27

Summary of Additional System Services

17

This section summarizes the services documented in this chapter.

Undo

17

Functions and Methods

17

AddUndoCall(

callBackFn

,

argArray

) //registers a function to

//call for Undo

AddUndoSend(

receiver

,

message

,

argArray

) //registers a message

//to be sent for Undo

view

:AddUndoAction(

methodName

,

argArray

) //registers an Undo

//action for a specific view

ClearUndoStacks() // clears Undo stack

Idlers

17

Method

17

view

:SetupIdle(

milliseconds

) //sets up an idler object

Notification and Alarms

17

Proto

17

aProtoPeriodicAlarmEditor := { //creates periodic alarms

_proto: protoPeriodicAlarmEditor,

title :

string

,

//text at top of view

ownerSymbol :

symbol

,

//your appSymbol

ownerApp :

string

,

//your app’s name

viewBounds :

frame

,

//bounds frame

//don’t add child views

...

}