set_cell_data_func


Description:

[ Version ( since = "2.4" ) ]
public abstract void set_cell_data_func (CellRenderer cell, owned CellLayoutDataFunc? func)

Sets the CellLayoutDataFunc to use for this .

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

func may be null to remove a previously set function.

Parameters:

this

a CellLayout

cell

a CellRenderer

func

the CellLayoutDataFunc to use, or null

destroy

destroy notify for func_data

func_data

user data for func