CellRendererCombo


Object Hierarchy:

Gtk.CellRendererCombo Gtk.CellRendererCombo Gtk.CellRendererCombo Gtk.CellRendererText Gtk.CellRendererText Gtk.CellRendererText->Gtk.CellRendererCombo Gtk.CellRenderer Gtk.CellRenderer Gtk.CellRenderer->Gtk.CellRendererText GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.CellRenderer GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned

Description:

[ CCode ( type_id = "gtk_cell_renderer_combo_get_type ()" ) ]
[ Version ( deprecated = true , deprecated_since = "4.10" ) ]
public sealed class CellRendererCombo : CellRendererText

Warning: CellRendererCombo is deprecated since 4.10.

Renders a combobox in a cell

Note:

List views use widgets to display their contents. You should use [class@Gtk.DropDown] instead

`GtkCellRendererCombo` renders text in a cell like `GtkCellRendererText` from which it is derived. But while `GtkCellRendererText` offers a simple entry to edit the text, `GtkCellRendererCombo` offers a `GtkComboBox` widget to edit the text. The values to display in the combo box are taken from the tree model specified in the `GtkCellRendererCombo`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 `GtkCellRendererCombo`text_column property. Further properties of the combo box can be set in a handler for the `GtkCellRenderer:GtkCellRendererCombo:editing-started` signal.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Signals:

Inherited Members: