Apple Newton Utilities Podręcznik Użytkownika Strona 114

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 942
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 113
CHAPTER 3
Views
3-30 About Views
View Compatibility 3
The following new functionality has been added for the 2.0 release of Newton
System Software. See the Newton Programmers Reference for complete
descriptions on each new function and method.
New Drag and Drop API 3
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 3
The following functions and methods have been added.
AsyncConfirm creates and displays a slip that the user must dismiss before
continuing.
ButtonToggleScript lets the application perform special handling when its
icon is tapped in the Extras Drawer.
DirtyBox marks a portion of a view (or views) as needing redrawing.
GetDrawBox returns the bounds of the area on the screen that needs redrawing.
GlobalOuterBox returns the rectangle, in global coordinates, of the specified
view, including any frame that is drawn around the view.
ModalConfirm creates and displays a slip.
MoveBehind moves a view behind another view, redrawing the screen as
appropriate.
StdButtonWidth returns the size that a button needs to be in order to fit some
specied text.
New Messages 3
The following messages have been added.
ReorientToScreen is sent to each child of the root view when the screen
orientation is changed.
ViewPostQuitScript is sent to a view following the ViewQuitScript
message and after all of the view’s child views have been destroyed.
Przeglądanie stron 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 941 942

Komentarze do niniejszej Instrukcji

Brak uwag