C H A P T E R 3
The following new functionality has been added for the 2.0 release of Newton
System Software. See the Newton Programmer's Reference for complete
descriptions on each new function and method.
New Drag and Drop API
A drag and drop API has been added. This API now lets users drag a view, or part
of a view, and drop it into another view. See "Dragging and Dropping with Views"
(page 3-40) for details.
New Functions and Methods
The following functions and methods have been added.
creates and displays a slip that the user must dismiss before
lets the application perform special handling when its
icon is tapped in the Extras Drawer.
marks a portion of a view (or views) as needing redrawing.
returns the bounds of the area on the screen that needs redrawing.
returns the rectangle, in global coordinates, of the specified
view, including any frame that is drawn around the view.
creates and displays a slip.
moves a view behind another view, redrawing the screen as
returns the size that a button needs to be in order to fit some
The following messages have been added.
is sent to each child of the root view when the screen
orientation is changed.
is sent to a view following the
message and after all of the view's child views have been destroyed.