Method

GtkCellViewset_fit_model

since: 3.0

Declaration [src]

void
gtk_cell_view_set_fit_model (
  GtkCellView* cell_view,
  gboolean fit_model
)

Description [src]

Sets whether cell_view should request space to fit the entire GtkTreeModel.

This is used by GtkComboBox to ensure that the cell view displayed on the combo box’s button always gets enough space and does not resize when selection changes.

Available since: 3.0

Sets propertyGtk.CellView:fit-model

Parameters

fit_model

Type: gboolean

Whether cell_view should request space for the whole model.