Apple Newton Utilities Guide de l'utilisateur Page 636

  • 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 635
CHAPTER 17
Additional System Services
17-20 Using Additional System Services
Figure 17-8 Built-in status view congurations
If you want to use a system-supplied template, you can simply dene your status
template as
myStatusTemplate := {_proto : protoStatusTemplate};
The denition of myStatusTemplate above does not include an
initialSetup slot, so it is necessary to call the ViewSet method to initialize
the view when it is instantiated. (This is discussed in “Opening the Status Slip”
beginning on page 17-23.)
The following status template denes a more complicated, self-animating, custom
barber pole gauge. The
myStatusTemplate template dened in this example
vStatus
vStatusTitle
vConfirm
vProgress
vGauge
vBarber
icon
statusText
icon
titleText
progress
primary
icon
primary
titleText
primary
closeBox
closeBox
closeBox
closeBox
closeBox
closeBox
statusText
icon
secondary
primary
statusText
statusText
icon
titleText
gauge
primary
statusText
icon
titleText
barber
primary
statusText
Vue de la page 635
1 2 ... 631 632 633 634 635 636 637 638 639 640 641 ... 941 942

Commentaires sur ces manuels

Pas de commentaire