All collection gadgets share certain essential properties. These can either be specified when an instance of a gadget is created, using an init-keyword, or set interactively via a slot value.
gadget-items This slot contains a Dylan collection representing the contents of a collection gadget.
gadget-label-key gadget-label-key is not explicitly defined for a collection gadget, its items are labeled numerically.
gadget-value-key gadget-selection-mode #"single" (only one item can be selected at any time), #"multiple" (any number of items can be selected at once), #"none" (no items can be selected at all).
gadget-selection-mode to read the selection mode of a gadget, but you cannot reset the selection mode of a gadget once it has been created. Instead, use the selection-mode: init-keyword to specify the selection mode when the gadget is created.
To specify any of these slot values as an init-keyword, remove the gadget- prefix. Thus, the gadget-value-key slot becomes the value-key: init-keyword.