beautypg.com

Soup formats 19 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 723

background image

C H A P T E R 1 9

Built-in Applications and System Data

Summary

19-49

protoEmporiumPopup

19

myEmporiumPopup := {

_proto: protoEmporiumPopup,

SetUpText:

function

,// returns string to display as current

// emporium

JamIt:

function

, // calls SetUpText and updates screen

...}

protoRepeatPicker

19

myRepeatPicker := {

_proto: protoRepeatPicker,

selectedMeeting:

meetingFrame

, // the selected meeting

originalMtgDate:

date

, // if a repeating meeting, date of

// instance, else ignored

newMtgDate:

date

, // the mtgStartDate of the selected

// meeting

viewBounds:

boundsFrame

, // the bounds frame

...}

protoRepeatView

19

myRepeatView := {

_proto: protoRepeatView,

viewFlags:

integer

, // defaults to vClickable+vFloating

viewFormat:

integer

, // defaults to vfFillWhite +

// vfFrameDragger + vfPen(7) +
// vfInset(1) + vfRound(5)

viewJustify:

integer

, // defaults to vjParentCenterH

viewBounds:

boundsFrame

, // defaults to RelBounds

// (0, 0, 204, 190)

GetRepeatSpec:

function

, // returns a frame with repeating

// info

...}

Soup Formats

19

Names Soup

19

Person Entries

19

aPersonEntry := {

version:

integer

,

class:

symbol

,