Apple Newton Utilities Guia do Utilizador Página 636

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 942
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 635
1 2 ... 631 632 633 634 635 636 637 638 639 640 641 ... 941 942

Comentários a estes Manuais

Sem comentários