# Method GTK2.CellLayout()->set_cell_data_func()

Method set_cell_data_func

  ``GTK2.CellLayout` set_cell_data_func(`GTK2.CellRenderer` `cell`, `function`(:`void`) `f`, `mixed` `user_data`)`

Description

  Sets the callback to use for this cell layout. This function is used instead of the standard attributes mapping for setting the column value, and should set the value of the cell layout's cell renderer(s) as appropriate. f may be 0 to remove an older one.