Apple Newton Utilities Uživatelská příručka Strana 163

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 942
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 941 942

Komentáře k této Příručce

Žádné komentáře