background image
C H A P T E R 4
NewtApp Applications
4-32
Summary of the NewtApp Framework
newtRollLayout
4
myRollLayout
:= { // Dynamically lays out child views
_proto: newtRollLayout, // using protoChild as default
protoChild: GetLayout("
DefaultEntryView
"), // Default view
name: "",
// Optional.
masterSoupSlot: '
mainSoup
, // Required.
// Symbol referring to soup from allSoups slot
forceNewEntry: true, //Forces new entry when empty
//folder opened.
menuRightButtons:[], //Replaces slot in status bar
menuLeftButtons:[], //Replaces slot in status bar
dataSoup: '
soupSymbol
,//Set to soup for this layout
dataCursor: ,// Set to top visible entry; main cursor
// All newtLayout methods are inherited.
}
newtPageLayout
4
myPageLayout
:= { // Dynamically lays out child views
_proto: newtPageLayout, // using protoChild as default
protoChild: GetLayout("
DefaultEntryView
"), // Default view
name: "",
// Optional.
masterSoupSlot: '
mainSoup
, // Required.
// Symbol referring to soup from allSoups slot
forceNewEntry: true, //Forces new entry when empty
//folder opened.
menuRightButtons:[], //Replaces slot in status bar
menuLeftButtons:[], //Replaces slot in status bar
dataSoup: '
soupSymbol
,//Set to soup for this layout
dataCursor: ,// Set to top visible entry; main cursor
// All newtLayout methods are inherited.
}
newtOverLayout
4
myOverLayout
:= { // Overview for page and card type layout
_proto: newtOverLayout
centerTarget: nil, // True centers entry in overview
masterSoupSlot: '
mainSoup
, // Required.
// Symbol referring to soup from allSoups slot
name: "",
// Required but not used.
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна