All Manuals > CAPI User Guide and Reference Manual

7 Programming with CAPI Windows

An interface or its children can be altered programmatically in many ways. This chapter describes APIs for the most common of these.

Note: By default, each CAPI interface runs in its process. It is important to understand that an on-screen interface and its elements must be accessed only in the process of that interface. In most circumstances the user alters the interface by a callback inside the interface, which will automatically happen in the correct process. However, calls from other processes (including other CAPI interfaces) should use execute-with-interface, execute-with-interface-if-alive, apply-in-pane-process or apply-in-pane-process-if-alive.

7.1 Initialization

7.2 Resizing and positioning

7.3 Geometric queries

7.4 Scrolling

7.5 Updating pane contents

7.6 Edit actions on the active element

7.7 Manipulating top-level windows


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:20