Cajas combinadas

The ComboBox widget offers a list (or tree) of choices in a dropdown menu. If appropriate, it can show extra information about each item, such as text, a picture, a check button, or a progress bar. The ComboBox widget usually restricts the user to the available choices, but it can optionally have an Entry, allowing the user to enter arbitrary text if none of the available choices are suitable.

Un TreeModel proporciona la lista, y las columnas de este modelo se añaden a la vista del «ComboBox» con el método ComboBox::pack_start(). Esto proporciona flexibilidad y seguridad de tipos en tiempo de compilación, pero la clase ComboBoxText proporciona una especialización más simple basada en texto en caso de que no se requiera la flexibilidad.

Referencia