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.

10.5.3.1 The Label Gadget

10.5.3.2 The List-Pane and Option-Pane Gadgets

10.5.3.3 The Menu-Button Gadget

10.5.3.4 The Push-Button Gadget

10.5.3.5 The Radio-Box and Check-Box Gadgets

10.5.3.6 The Scroll-Bar Gadget

10.5.3.7 The Slider Gadget

10.5.3.8 The Text-Field and Text-Editor Gadgets

10.5.3.9 The Toggle-Button Gadget


CommonLisp Interface Manager 2.0 User's Guide - 8 Aug 2003

Next Prev Up Top Contents Index