Next: , Previous: cell-renderer-accel, Up: Gtk+ Objects

6.4.10 cell-renderer-combo

— Class: cell-renderer-combo

Superclass: cell-renderer-text

cell-renderer-combo renders text in a cell like cell-renderer-text from which it is derived. But while cell-renderer-text offers a simple entry to edit the text, cell-renderer-combo offers a combo-box or combo-box-entry widget to edit the text. The values to display in the combo box are taken from the tree model specified in the model property.

The combo cell renderer takes care of adding a text cell renderer to the combo box and sets it to display the column specified by its text-column property. Further properties of the comnbo box can be set in a handler for the editing-started signal.