Appendix D LispWorks CLIM and CAPI
This appendix describes how the current version of LispWorks CLIM uses the CAPI (Common Application Programmer's Interface).
Native gadgets in CLIM are implemented using CAPI gadgets. Table 4., CLIM Gadgets and the Equivalent CAPI Gadgets sets out the equivalences between the CLIM gadgets and CAPI gadgets.
CLIM Gadgets and the Equivalent CAPI Gadgets
CLIM Gadgets | CAPI Gadgets |
push-button | push-button |
toggle-button | check-button |
radio-box | radio-button-panel |
check-box | check-button-panel |
option-pane | option-pane |
list-pane | list-panel |
text-field | text-input-pane |
text-editor | editor-pane |
scroll-bar | scroll-bar |
slider | slider (not supported in CAPI) |
Some higher-level functionality in CLIM is also implemented by calling the corresponding CAPI function. See Table 5., CLIM Functions and the Equivalent CAPI Functions for the corresponding functions.
CLIM Functions and the Equivalent CAPI Functions
CLIM Functions | CAPI Functions |
select-file | prompt-for-file |
notify-user | display-message-on-screen popup-confirmer |
menu-choose | prompt-with-list (depending on the menu-view and argument list). |
Common Lisp Interface Manager 2.0 User Guide - 14 Dec 2001