Sheet

The Sheet class is used to represent a window contained within AppCanvas, and it supports the basic functions of a window, including resizing, moving, minimizing, maximizing, and selecting. The Sheet class also maintains the state of the window through the helper class SheetState, which will be discussed later in this chapter. Sheet has an API that consists of {constructor}, {close}, {minimize}, {maximize}, {restore}, {on-pointer-press}, and {draw}. The specific processing in each of these methods will be discussed in the following sections.

Figure 5-5. AppCanvas.on-drag-over code listing.
 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| || Method: on-drag-over || Purpose: Process the drag event ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.