Next Prev Up Top Contents Index

10.5.3 Abstract Gadget Classes

CLIM supplies a set of gadgets that have been designed to be compatible with a variety of user interface toolkits, including Xt widget-based toolkits (such as Motif), OpenLook, and the MacToolbox.

Each gadget maps to an implementation-specific object that is managed by the underlying toolkit. For example, while a CLIM program manipulates an object of class scroll-bar , the underlying implementation-specific object might be a CAPI widget of type capi:scroll-bar . As events are processed on the underlying object, the corresponding generic operations are applied to the Lisp gadget.

Note that not all operations will necessarily be generated by particular toolkit implementations. For example, a user interface toolkit that is designed for a 3-button mouse may generate significantly more gadget events than one designed for a 1-button mouse. The Label Gadget The List-Pane and Option-Pane Gadgets The Menu-Button Gadget The Push-Button Gadget The Radio-Box and Check-Box Gadgets The Scroll-Bar Gadget The Slider Gadget The Text-Field and Text-Editor Gadgets The Toggle-Button Gadget

Common Lisp Interface Manager 2.0 User Guide - 14 Dec 2001

Next Prev Up Top Contents Index