All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

ensure-area-visible

Generic Function
Summary

Ensures an area is visible in a scrollable pane.

Package

capi

Signature

ensure-area-visible self x y width height

Arguments

self

A simple-pane with internal scrolling.

x , y

The coordinates of the origin of the area to make visible.

width , height

The dimensions of the area to make visible

Description

The generic function ensure-area-visible ensures that the area specified by x , y , width and height , or at least part of it, is visible.

This function works only for subclasses of simple-pane that do internal scrolling (such as editor-pane). An error is signalled if it is called with other classes.


CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017

NextPrevUpTopContentsIndex