Apple Newton Utilities Podręcznik Użytkownika Strona 174

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 942
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 173
CHAPTER 4
NewtApp Applications
4-36 Summary of the NewtApp Framework
newtTextView 4
editableTextView:= {// This is the editable text view
_proto: newtTextView,
path: 'pathExpr,// Text stored/retrieved from here
styles: nil,// Plain text.
tabs: nil,// Tabs not enabled.
jamSlot: 'jamPathExpr,// New path for JamFromEntry.
TextScript: // Returns a text representation of data
func()..., //
JamFromEntry: // Retargets to jamPathExpr if not nil
func(jamPathExpr)..., //
}
newtRONumView 4
readOnlyNumberView:= {// Read-only number view
_proto: newtRONumView,
path: 'pathExpr,// Numbers stored/retrieved from here
format: %.10g,// For 10-place decimal; you may change
integerOnly: true,// Text to num conversion is int
TextScript: // Returns a text representation of data
func()..., //
JamFromEntry: // Retargets to jamPathExpr if not nil
func(jamPathExpr)..., //
}
newtNumView 4
editableNumberView:= {// Editable number view
_proto: newtNumView,
path: 'pathExpr,// Numbers stored/retrieved from here
format: %.10g,// For 10-place decimal; you may change
integerOnly: true,// Text to num conversion is int
TextScript: // Returns a text representation of data
func()..., //
JamFromEntry: // Retargets to jamPathExpr if not nil
func(jamPathExpr)..., //
}
newtROTextDateView 4
readOnlyTextDateView:= {// Read-only text and date view. One
_proto: newtROTextDateView, //format slot must be non-nil
path: 'pathExpr,// Data stored/retrieved from here
Przeglądanie stron 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 941 942

Komentarze do niniejszej Instrukcji

Brak uwag