Apple Newton Utilities Guide de l'utilisateur Page 786

  • 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 785
CHAPTER 21
Routing Interface
21-38 Summary of the Routing Interface
RouteScripts Array Element 21
RouteScriptsArrayElement := {
title: string, // string name of picker item
icon: bitmap object, // icon for picker item
appSymbol: symbol, // used if defined in a view def
RouteScript: symbol or function,// function called if this
// action is chosen
GetTitle: function, // supplied instead of title slot
...
}
Protos 21
protoActionButton 21
aProtoActionButton := {
_proto: protoActionButton,
viewBounds : boundsFrame,
...
}
protoPrinterChooserButton 21
aPrinterChooserButton := {
_proto: protoPrinterChooserButton,
viewBounds : boundsFrame,
}
protoRoutingFormat, protoPrintFormat, and protoFrameFormat 21
aFormat := {
_proto: protoRoutingFormat, // or one of the other protos
type: 'routeFormat, // some ROMs also use 'printFormat
title: string, // name of format
symbol: symbol, // unique id - include signature
dataTypes: ['frame, 'text],// supports frame & text data
version: integer, // version number
auxForm: viewTemplate, // for auxiliary view
storeAlias: Boolean, // store alias?
showMessage: Boolean, // warn user when aliasing?
sizeLimit: integer, // maximum size without aliasing
storeCursors: Boolean, // store cursor to multiple items?
SetupItem: function, // puts target into item frame
Vue de la page 785
1 2 ... 781 782 783 784 785 786 787 788 789 790 791 ... 941 942

Commentaires sur ces manuels

Pas de commentaire