Apple Newton Utilities Podręcznik Użytkownika Strona 163

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 942
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 162
CHAPTER 4
NewtApp Applications
Summary of the NewtApp Framework 4-25
Summary of the NewtApp Framework 4
Required Code 4
Required InstallScript 4
InstallScript := func(partFrame)
begin
partFrame.removeFrame := (partFrame.theForm):
NewtInstallScript(partFrame.theForm);
end;
Required RemoveScript 4
RemoveScript := func(partFrame)
begin
(partFrame.removeFrame):NewtRemoveScript(removeFrame);
end;
Protos 4
newtSoup 4
myNewtSoup := {
_proto: newtSoup, // NewtApp soup proto
soupName: "MyApp:SIG", // a string unique to your app.
soupIndices: [ //soup particulars, may vary
{structure: 'slot, //describing a slot
path: 'title, // named “title” which
type: 'string}, //contains a string
...], // more descriptions may follow
soupQuery: { // a soup query
type: 'index,
indexPath:'timeStamp}, // slot to use as index
soupDescr:"The Widget soup."//string describing the soup
defaultDataType:'soupType , //type for your soup entry
Przeglądanie stron 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 941 942

Komentarze do niniejszej Instrukcji

Brak uwag