Apple Newton Utilities Guide de l'utilisateur Page 171

  • 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 170
CHAPTER 4
NewtApp Applications
Summary of the NewtApp Framework 4-33
forceNewEntry: true, //Creates blank entry for layout
menuRightButtons:[], //Replaces slot in status bar
menuLeftButtons:[], //Replaces slot in status bar
nothingCheckable: nil, //True suppresses checkboxes
Abstract: //Returns shapes for items in overviews
func(targetEntry, bbox)..., //Override to extract text
GetTargetInfo: //Returns frame with target information
func(targetType)...,
HitItem: //Called when overview item is tapped.
func(index, x, y)...,
// All newtLayout methods are inherited.
}
newtRollOverLayout 4
myOverLayout:= { // Overview for roll-type application
_proto: newtRollOverLayout //Same as newtOverLayout
centerTarget: nil, // True centers entry in overview
masterSoupSlot: 'mainSoup, // Required.
// Symbol referring to soup from allSoups slot
name: "", // Required but not used.
menuRightButtons:[], //Replaces slot in status bar
menuLeftButtons:[], //Replaces slot in status bar
forceNewEntry: true, //Creates blank entry for layout
nothingCheckable: nil, //True suppresses checkboxes
Abstract: //Returns shapes for items in overviews
func(targetEntry, bbox)..., //Override to extract text
GetTargetInfo: //Returns frame with target information
func(targetType)...,
HitItem: //Called when overview item is tapped.
func(index, x, y)...,
// All newtLayout methods are inherited.
}
newtEntryView 4
anEntryView:= { // Invisible container for slot views
_proto: newtEntryView
entryChanged: //Set to true for flushing
entryDirtied: //Set to true if flush occurred
target: //Set to entry for display
currentDataDef: //Set to current dataDef
Vue de la page 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 941 942

Commentaires sur ces manuels

Pas de commentaire