gtk.cell_renderer_combo

Module for [CellRendererCombo] class

Types 3

Renders a combobox in a cell

gtk.cell_renderer_combo.CellRendererCombo renders text in a cell like gtk.cell_renderer_text.CellRendererText from which it is derived. But while gtk.cell_renderer_text.CellRendererText offers a simple entry to edit the text, gtk.cell_renderer_combo.CellRendererCombo offers a gtk.combo_box.ComboBox widget to edit the text. The values to display in the combo box are taken from the tree model specified in the gtk.cell_renderer_combo.CellRendererCombo: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 can be set in a handler for the GtkCellRenderer::editing-started signal.

Deprecated

List views use widgets to display their contents. You

should use gtk.drop_down.DropDown instead

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
CellRendererCombo self() nothrowReturns `this`, for use in `with` statements.
CellRendererComboGidBuilder builder() static nothrowGet builder for [gtk.cell_renderer_combo.CellRendererCombo] Returns: New builder object
bool hasEntry() @property nothrowGet `hasEntry` property. Returns: If true, the cell renderer will include an entry and allow to enter values other than the ones in the popup list.
void hasEntry(bool propval) @property nothrowSet `hasEntry` property. Params: propval = If true, the cell renderer will include an entry and allow to enter values other than the ones in the popup list.
gtk.tree_model.TreeModel model() @property nothrowGet `model` property. Returns: Holds a tree model containing the possible values for the combo box. Use the text_column property to specify the column holding the values.
void model(gtk.tree_model.TreeModel propval) @property nothrowSet `model` property. Params: propval = Holds a tree model containing the possible values for the combo box. Use the text_column property to specify the column holding the values.
int textColumn() @property nothrowGet `textColumn` property. Returns: Specifies the model column which holds the possible values for the combo box.
void textColumn(int propval) @property nothrowSet `textColumn` property. Params: propval = Specifies the model column which holds the possible values for the combo box.
gulong connectChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == string))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == gtk.tree_iter.TreeIter))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.cell_renderer_combo.CellRendererCombo))) && Parameters!T.length < 4) nothrowConnect to `Changed` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [gtk.cell_renderer_combo.CellRendererCombo]. Adjust how text is drawn using object properties. Object properties can be set globally (with [gobject.object.ObjectWrap.set]). Also, with...

Fluent builder implementation template for gtk.cell_renderer_combo.CellRendererCombo

Methods
T hasEntry(bool propval) nothrowSet `hasEntry` property. Params: propval = If true, the cell renderer will include an entry and allow to enter values other than the ones in the popup list. Returns: Builder instance for fluent cha...
T model(gtk.tree_model.TreeModel propval) nothrowSet `model` property. Params: propval = Holds a tree model containing the possible values for the combo box. Use the text_column property to specify the column holding the values. Returns: Builder ...
T textColumn(int propval) nothrowSet `textColumn` property. Params: propval = Specifies the model column which holds the possible values for the combo box.