radio-box gadget
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
McCLIM |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Report from Paul Werkowski
affects mcclim
status confirmed
importance wishlist
tag gadget radio-box check-box extension
done
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