[mcclim-devel] radio-box gadget

Paul Werkowski pw at snoopy.mv.com
Thu Apr 13 17:27:13 UTC 2006


FYI

Seems that CLIM (lispworks at least) implements
the :name-key and :value-key options (found in the
documentation for list-pane and option-pane) for
radio-box and check-box as well. This either an undocumented
extension or an omission from the spec.

Having that available aids handling presentation-types
like member-alist and subset-alist.

With these types, the gadget gets a :choices list like
((:a . 1)(:b 2)) and wants to show check-boxes with
names A and B. Selecting one/some of these results in
a gadget value that is made up from the :choices list.
For radio-box the gadget-value might be (:a . 1) while
the check-box form would yield ((:a . 1)).

The way the spec is written, those conversions have to be
done outside the gadget itself.

Does anyone know if other CLIM implementations do this too?
Should McCLIM?


Paul




More information about the mcclim-devel mailing list