beautypg.com

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

Page 277

background image

C H A P T E R 7

Controls and Other Protos

Special View Protos

7-17

The

protoDrawer

creates a view that looks and acts like the base view of the

Extras Drawer. For more information about the slots and methods for this proto,
see “protoDrawer” (page 6-49) in Newton Programmer’s Reference.

The

protoFloater

creates a draggable view that is horizontally centered

within its parent view and floats above all other nonfloating sibling views within
an application. For more information about the slots and methods for this proto,
see “protoFloater” (page 6-49) in Newton Programmer’s Reference.

The

protoFloatNGo

creates a draggable view that is horizontally centered

within its parent view and floats above all other nonfloating sibling views
within an application. This is identical to

protoFloater

, except that

protoFloatNGo

includes a close box in the lower-right corner of the view. For

more information about the slots and methods for this proto, see
“protoFloatNGo” (page 6-51) in Newton Programmer’s Reference.

The

protoGlance

creates a text view that automatically closes itself after

displaying for a brief period. For more information about the slots and methods
for this proto, see “protoGlance” (page 6-52) in Newton Programmer’s
Reference
. Figure 7-26 shows an example of a

protoGlance

view.

Figure 7-26

A

protoGlance

view

The

protoStaticText

creates a one-line paragraph view that is read-only

and left-justified. For more information about the slots and methods for this, see
“protoStaticText” (page 6-54) in Newton Programmer’s Reference. Figure 7-22
shows an example of a

protoStaticText

view.

Figure 7-27

A

protoStaticText

view

Static text