Apple Newton Utilities User's Guide Page 588

  • Download
  • Add to my manuals
  • Print
  • Page
    / 942
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 587
CHAPTER 15
Filing
15-22 Summary
protoClockFolderTab 15
myClockFolderTabView := {
{_parent: myAppBaseView, // see page 15-20
_proto: { protoClockFolderTab,
// your folder tab’s viewSetupFormScript must
// call inherited:?viewSetupFormScript()
viewSetupFormScript: <function, 0 arg(s) …>, …},
// do not attempt to alter the time display text
…}
Filing Functions and Methods 15
view:GetTargetInfo(reason) // override for multiple targets
view:MoveTarget (target, destStore) // move target between stores
RegFolderChanged(callbackID,callBackFn)// register folder change callback
UnRegFolderChanged(callbackID) // unregister folder change callback
AddFolder(newFolderStr, appSymbol) // add local folder
RemoveFolder(folderSym, appSymbol) // remove local folder
GetFolderStr(folderSym) // get user-visible folder name from app sym
RemoveAppFolders(appSym) // remove specified app’s local folders
GetFolderList(appSymbol, localOnly) // list the app’s local folders
Application-Dened Filing Functions and Methods 15
// Optional. Specify filing target, target view, target store
GetTargetInfo(reason)
// Required. Respond to changes in filing filter or store filter
targetView:NewFilingFilter(newFilter)
// Required. File the item as specified
targetView:FileThis (target,labelsChanged, newLabels, storesChanged, newStore)
Page view 587
1 2 ... 583 584 585 586 587 588 589 590 591 592 593 ... 941 942

Comments to this Manuals

No comments