Next Previous Up Top Contents Index

7.2 A tour of gadgets

7.2.3 Collection gadgets

Collection gadgets are gadgets whose items can consist of any Dylan collection. They are typically used to group together a number of related objects, such as items in a list or a group of buttons. All collection gadgets are general instances of the protocol class <collection-gadget>.

Note that collection gadgets are not actually defined as collections of gadgets, as you might assume. Instead, they contain a sequence of items, such as strings, numbers, or symbols, that describe the contents of the collection gadget. It is worth emphasizing this distinction since, visually, collection gadgets often look like groups of individual gadgets.

7.2.3.1 - Useful properties of collection gadgets
7.2.3.2 - Button boxes
7.2.3.3 - Menu boxes
7.2.3.4 - Lists

Building Applications Using DUIM - 26 May 1999

Next Previous Up Top Contents Index