beautypg.com

Summary 6, General picker protos 6 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 241

background image

C H A P T E R 6

Pickers, Pop-up Views, and Overviews

Summary

6-41

Summary

6

The following sections summarize the reference information in this chapter.

General Picker Protos

6

protoPopupButton

6

aProtoPopupButton := {

_proto:

protoPopupButton,

viewFlags:

flags

,

viewBounds:

boundsFrame

,

viewJustify:

justificationFlags

,

text:

string

,

// text inside button

popup:

array

,

// items in list

ButtonClickScript:

function

,

// called on button tap

PickActionScript:

function

,

// returns item selected

PickCancelledScript:

function

,

// user cancelled

...

}

protoPopInPlace

6

aProtoPopInPlace := {

_proto:

protoPopInPlace,

viewBounds:

boundsFrame

,

viewFlags:

constant

,

viewJustify:

justificationFlags

,

text:

string

,

// text inside button

popup:

array

,

// items in list

PickActionScript:

function

,

// returns selected item

PickCancelledScript:

function

,

// user cancelled

...

}

protoLabelPicker

6

aProtoLabelPicker := {

_proto:

protoLabelPicker,

viewBounds:

boundsFrame

,

viewFont:

fontSpec

,