CellLayout.setCellDataFunc

void setCellDataFunc(gtk.cell_renderer.CellRenderer cell, gtk.types.CellLayoutDataFunc func = null)

Sets the [gtk.cell_layout.CellLayout]DataFunc to use for cell_layout.

This function is used instead of the standard attributes mapping for setting the column value, and should set the value of cell_layout’s cell renderer(s) as appropriate.

func may be null to remove a previously set function.

Parameters

cella [gtk.cell_renderer.CellRenderer]
functhe [gtk.cell_layout.CellLayout]DataFunc to use