logo       

radio-box gadget: msg#00043

lisp.mcclim.devel

Subject: radio-box gadget


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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise