1 CAPI Reference Entries

option-pane

Class

Summary

The classoption-pane provides a pane which represents a choice between a number of different items, and which only displays the current one.

Superclasses

choice
titled-pane

Slots

enabled
Non-nil if the option pane is enabled.

Accessors

option-pane-enabled

Description

The classoption-pane inherits fromchoice, and so has all of the standard choice behavior such as selection and callbacks. It also has an extraenabled slot along with an accessor which is used to enable and disable the option pane.

Example

(setq option-pane (capi:contain
                    (make-instance 'capi:option-pane
                                   :items '(1 2 3 4 5)
                                   :selected-item 3)))

(setf (capi:choice-selected-item option-pane) 5) (setf (capi:option-pane-enabled option-pane) nil) (setf (capi:option-pane-enabled option-pane) t)

Example File

capi/elements/option-pane.lisp


CAPI Reference Manual, Liquid Common Lisp Version 5.0 - 3 OCT 1997

Generated with Harlequin WebMaker