3.6  canvas<%>

Extends: subwindow<%>

A canvas is a subwindow onto which graphics and text can be drawn. Canvases also receive mouse and keyboard events.

To draw onto a canvas, get its device context (see get-dc).

The canvas<%> interface is implemented by two classes:

Methods
    get-dc
    min-client-height
    min-client-width
    on-char
    on-event
    on-paint
    on-scroll
    on-tab-in
    warp-pointer

All Methods
    accept-drop-files from window<%>
    client->screen from window<%>
    enable from window<%>
    focus from window<%>
    get-client-size from window<%>
    get-cursor from window<%>
    get-dc from canvas<%>
    get-graphical-min-size from area<%>
    get-height from window<%>
    get-label from window<%>
    get-parent from area<%>
    get-plain-label from window<%>
    get-size from window<%>
    get-top-level-window from area<%>
    get-width from window<%>
    get-x from window<%>
    get-y from window<%>
    has-focus? from window<%>
    horiz-margin from subarea<%>
    is-enabled? from window<%>
    is-shown? from window<%>
    min-client-height from canvas<%>
    min-client-width from canvas<%>
    min-height from area<%>
    min-width from area<%>
    on-char from canvas<%>
    on-drop-file from window<%>
    on-event from canvas<%>
    on-focus from window<%>
    on-move from window<%>
    on-paint from canvas<%>
    on-scroll from canvas<%>
    on-size from window<%>
    on-subwindow-char from window<%>
    on-subwindow-event from window<%>
    on-superwindow-enable from window<%>
    on-superwindow-show from window<%>
    on-tab-in from canvas<%>
    popup-menu from window<%>
    refresh from window<%>
    screen->client from window<%>
    set-cursor from window<%>
    set-label from window<%>
    show from window<%>
    stretchable-height from area<%>
    stretchable-width from area<%>
    vert-margin from subarea<%>
    warp-pointer from canvas<%>