beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 255

background image

C H A P T E R 6

Pickers, Pop-up Views, and Overviews

Summary

6-55

protoListPicker

6

aProtoListPicker := {

_proto:

protoListPicker,

declareSelf :

symbol

,

// Set to 'pickBase

defaultJustification :

constant

,

viewFlags :

constant

,

viewBounds :

boundsFrame

,

lineHeight:

integer

,

// height of items in pixels

listFormat:

formatFlags

,

pickerDef:

frame

,

// defines list behavior

selected:

array

,

// references to selected items

soupToQuery:

string

,

// union soup to query

querySpec:

frame

,

// query to use

selected:

array,

// modified as user selects

// and deselects item

singleSelect:

Boolean

,

// single selection if non-nil

suppressNew:

Boolean

,

// suppress New button if non-nil

suppressScrollers:

Boolean

,

// suppress scroller if

// non-nil

suppressAZTabs:

Boolean

,

// suppress tabs if non-nil

suppressFolderTabs:

Boolean

,

// suppress if non-nil

suppressSelOnlyCheckbox:

Boolean

,// suppress if non-nil

suppressCloseBox:

Boolean

,

// suppress if non-nil

suppressCounter:

Boolean

,

// suppress if non-nil

reviewSelections:

Boolean

,

// Selected Only if non-nil

readOnly:

Boolean

,

// items are read-only if

// non-nil

dontPurge:

Boolean

,

// keep unselected refs if

// non-nil

soupChangeSymbol:

symbol

,

// for RegSoupChange method

SoupEnters:

function

,

// syncs up changed soup

SoupLeaves:

function

,

// syncs up changed soup

SetNowShowing:

function

,

// set Selected Only

AddFakeItem:

function

,

// add item to array; update

// screen

GetSelected:

function

,

// returns clone of selected

// array

...

}