Date, time, and location pop-up views 6 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 250

Advertising
background image

C H A P T E R 6

Pickers, Pop-up Views, and Overviews

6-50

Summary

protoCitiesTextPicker

6

aProtoCitiesTextPicker := {

_proto:

protoCitiesTextPicker,

label:

string

,

// picker label

labelFont:

fontSpec

,

// label display font

entryFont:

fontSpec

,

// picked entry font

indent:

integer

,

// amount to indent text

params:

frame

,

PickActionScript:

function

,

// returns selected item

PickCancelledScript:

function

,

// user cancelled picker

...

}

protoLongLatTextPicker

6

aProtoLongLatTextPicker := {

_proto:

protoLongLatTextPicker,

label:

string

,

// picker label

latitude:

integer

,

// initial latitude

longitude:

integer

,

// initial longitude

labelFont:

fontSpec

,

// label display font

entryFont:

fontSpec

,

// picked entry font

indent:

integer

,

// amount to indent text

PickActionScript:

function

,

// returns selected item

PickCancelledScript:

function

,

// user cancelled picker

worldClock:

boolean

// do not change

...

}

Date, Time, and Location Pop-up Views

6

protoDatePopup

6

aProtoDatePopup := {

_proto:

protoDatePopup,

New:

function

,

// creates pop-up view

PickActionScript:

function

,

// returns selected item

PickCancelledScript:

function

,

// user cancelled picker

...

}

Advertising