TreeViewColumn.setCellDataFunc

Sets the GtkTreeCellDataFunc to use for the column. This function is used instead of the standard attributes mapping for setting the column value, and should set the value of tree_column's cell renderer as appropriate. func may be NULL to remove an older one.

class TreeViewColumn
void
setCellDataFunc

Parameters

cellRenderer CellRenderer

A GtkCellRenderer

func GtkTreeCellDataFunc

The GtkTreeCellDataFunc to use. [allow-none]

funcData void*

The user data for func.

destroy GDestroyNotify

The destroy notification for func_data

Meta