beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 164

background image

C H A P T E R 4

NewtApp Applications

4-26

Summary of the NewtApp Framework

AddEntry: //Adds the entry to the specified store

func(

entry, store

) ...

AdoptEntry: // Adds entry to the application soup while

func(

entry, type

)... // preserving dataDef entry slots

CreateBlankEntry: // Returns a blank entry

func() ...

DeleteEntry: // Removes an entry from its soup

func(

entry

) ...

DuplicateEntry: // Clones and returns entry

func(

entry

) ...

DoneWithSoup: // Unregisters soup changes and soup

func(

appSymbol

) ...

FillNewSoup:

// Called by MakeSoup to add soup

func()

...// values to a new soup

MakeSoup:

// Used by the newtApplication proto

func(

appSymbol

)... // to return and register a new soup

GetCursor: // Returns the cursor

func() ...

SetupCursor:

// Sets the cursor to an entry in the

func(

querySpec

) ... // master soup

Query: // Performs a query on a newtSoup

func(

querySpec

) ...

GetAlias: // Returns an entry alias.

func(

entry

)...

GetCursorPosition: // Returns an entry alias.

func() ...

GoToAlias: // Returns entry referenced by the alias.

func(

alias

)...

}