CellLayoutT.setCellDataFunc

Sets the #GtkCellLayoutDataFunc 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.

template CellLayoutT(TStruct)
void
setCellDataFunc
(
CellRenderer cell
,,
void* funcData
,
GDestroyNotify destroy
)

Parameters

cell CellRenderer

a #GtkCellRenderer

func GtkCellLayoutDataFunc

the #GtkCellLayoutDataFunc to use, or %NULL

funcData void*

user data for @func

destroy GDestroyNotify

destroy notify for @func_data

Meta