CellRendererCombo
⚠️ Deprecated ⚠️
This is deprecated since version 4.10.
List views use widgets to display their contents. You should use class@Gtk.DropDown instead
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::editing-started
signal.
Skipped during bindings generation
method
has-entry
: Property has no getter nor settermethod
model
: Property has no getter nor settermethod
text-column
: Property has no getter nor setter
Constructors
Properties
Functions
Emits the "changed" signal. See onChanged.
Emits the "edited" signal. See onEdited.
Emits the "editing-canceled" signal. See onEditingCanceled.
Emits the "editing-started" signal. See onEditingStarted.
This is deprecated since version 4.10.
---This is deprecated since version 4.10.
---This is deprecated since version 4.10.
---This is deprecated since version 4.10.
---This is deprecated since version 4.10.
---This signal is emitted each time after the user selected an item in the combo box, either by using the mouse or the arrow keys. Contrary to GtkComboBox, GtkCellRendererCombo::changed is not emitted for changes made to a selected item in the entry. The argument @new_iter corresponds to the newly selected item in the combo box and it is relative to the GtkTreeModel set via the model property on GtkCellRendererCombo.
This signal gets emitted when the user cancels the process of editing a cell. For example, an editable cell renderer could be written to cancel editing when the user presses Escape.
This signal gets emitted when a cell starts to be edited. The intended use of this signal is to do special setup on @editable, e.g. adding a GtkEntryCompletion
or setting up additional columns in a GtkComboBox
.
This is deprecated since version 4.10.
---This is deprecated since version 4.10.
---This is deprecated since version 4.10.
---This is deprecated since version 4.10.
---This is deprecated since version 4.10.
---This is deprecated since version 4.10.
---This is deprecated since version 4.10.
---