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 ()" ) ]
public class CellRendererCombo : CellRendererText

Renders a combobox in a cell

`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:

All known members inherited from class GLib.Object



2022 vala-language.org