Apple Newton Utilities Guide de l'utilisateur Page 163

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 941 942

Commentaires sur ces manuels

Pas de commentaire