General-purpose pickers 6, Picker categories 6 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual
Page 204

C H A P T E R 6
Pickers, Pop-up Views, and Overviews
6-4
General-Purpose Pickers
■
protoPeoplePopup
The following two protos are data types that support the
protoListPicker
:
■
protoNameRefDataDef
■
protoPeopleDataDef
Obsolete Function
6
The
DoPopup
global function used in system software version 1.x is obsolete; it is
supported in version 2.0, but support is not guaranteed in future releases. Use the
new
PopupMenu
function instead.
Picker Categories
6
The remainder of this chapter divides the pickers into a number of categories. The
protos within each category operate in a related manner. General-purpose protos
are used to create simple, general-purpose pickers and pop-up views. The remaining
protos in the list are triggered by specific user actions or by events that you define:
■
general-purpose pickers
■
map pickers
■
text pickers
■
date, time, and location pickers
■
number pickers
■
picture picker
■
overview protos
■
roll protos
There is also a section discussing the view classes used with pickers.
General-Purpose Pickers
6
You use the protos described in this section to create simple, general-purpose
pickers and pop-up views. Some of the following protos are triggered by specific
user actions, while others are triggered by events that you define:
■
The
protoPopupButton
picker is a text button that displays a picker when
tapped. The button is highlighted while the picker is open. For information
about the slots and methods for this picker, see “protoPopupButton” (page 5-4)
in Newton Programmer’s Reference. Figure 6-1 shows an example of a
protoPopupButton
.