gtk.cell_renderer_combo
Module for [CellRendererCombo] class
Types 3
#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.
The #GtkCellRendererCombo cell renderer was added in GTK+ 2.6.
CellRendererCombo self()Returns `this`, for use in `with` statements.CellRendererComboGidBuilder builder()Get builder for [gtk.cellrenderercombo.CellRendererCombo] Returns: New builder objectbool hasEntry() @propertyGet `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) @propertySet `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() @propertyGet `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) @propertySet `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() @propertyGet `textColumn` property. Returns: Specifies the model column which holds the possible values for the combo box.void textColumn(int propval) @propertySet `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)Connect to `Changed` signal.T hasEntry(bool propval)Set `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)Set `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)Set `textColumn` property. Params: propval = Specifies the model column which holds the possible values for the combo box.Fluent builder for [gtk.cell_renderer_combo.CellRendererCombo]