background image
C H A P T E R 4
NewtApp Applications
Summary of the NewtApp Framework
4-35
newtEntryRollHeader
4
aRollHeader
:= {
// Header/divider bar for page or
// roll-style apps
_proto: newtEntryRollHeader,
hasFiling: true // Nil is no filing or action buttons
isResizable: true // Nil is no drag resizing
}
newtEntryViewActionButton
4
anEntryActionButton
:= {// Action button to use on headers
// and within entry views
_proto: newtEntryViewActionButton
}
newtEntryViewFilingButton
4
anEntryFilingButton
:= {// Filing button to use on headers
// and within entry views
_proto: newtEntryViewFilingButton
}
newtInfoBox
4
anInfoBox
:= {
// Floating view displayed when header
_proto: newtInfoBox, //icon tapped
icon: ,// Optional, default provided.
description: "",// Displayed in view next to icon.
}
newtROTextView
4
readOnlyTextView
:= {// All simple slot views based on this
_proto: newtROTextView,
path: 'pathExpr,// Text stored and 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
)..., //
}
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна