| Code: |
function format_column($column, $cell, $model, $iter, $col_num) { ... } |
is set up by
| Code: |
$column->set_cell_data_func($cell_renderer, "format_col", $col); |
and the callback is
| Code: |
callback(GtkCellLayout cell_layout,GtkCellRenderer cell,
GtkTreeModel tree_model, GtkTreeIter iter[, user_data]); |
where cell_layout is the GtkTreeViewColumn object (since GtkCellLayout is an interface)? and user_data is the $col?
In general, in Gtk, if a callback specifies optional user_data, will it always be what was specified as extra arguments on the method that set up the callback?
Thanks,