Apple Newton Utilities Guide de l'utilisateur Page 178

  • 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 177
CHAPTER 4
NewtApp Applications
4-40 Summary of the NewtApp Framework
newtStationeryView 4
stationeryView:= { // Used as bounding box and container
// view for viewDef
_proto: newtStationeryView
}
newtEntryLockedIcon 4
entryLockedIcon:= { //Shows lock if slot is on locked media
_proto: newtEntryLockedIcon
icon: nil,// Can also be: lockedIcon
Retarget : // displays either lock or unlocked icon
func()...,
SetIcon: // Changes target.(path) value to its
func()..., // opposite either true or false
}
newtProtoLine 4
basicInputLine:= { // Base for input line protos
_proto: newtProtoLine,
label: "",// Text for input line label
labelCommands: ["", "",],// Picker options
curLabelCommand: 1,// Integer for current command
usePopup: true,// When true with labelCommands array
// picker is enabled
path: 'pathExpr,// Data stored/retrieved from here
access: 'readWrite,// Could be 'readOnly or 'pickOnly
flavor: newtFilter,// Don’t change
memory: nil, // most recent picker choices
ChangePopup: // change picker items before they display
func(item, entry)..., //
UpdateText: // Used with Undo to update text to new text
func(newText)..., //
}
newtLabelInputLine 4
aLabelInputLine:= { // Labelled input line for text
_proto: newtLabelInputLine,
label: "",// Text for input line label
labelCommands: ["", "",],// Picker options
curLabelCommand: integer,// Integer for current command
Vue de la page 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 941 942

Commentaires sur ces manuels

Pas de commentaire