public static interface TreeModel.RowChanged
Modifier and Type | Method and Description |
---|---|
void |
onRowChanged(TreeModel source,
TreePath path,
TreeIter row)
The
path and row arguments give you valid
a TreePath and TreeIter respectively pointing at the row that
changed. |
void onRowChanged(TreeModel source, TreePath path, TreeIter row)
path
and row
arguments give you valid
a TreePath and TreeIter respectively pointing at the row that
changed. Be wary, though, that these are not going to be stable
beyond the invocation of this callback; if one row has changed, you
can bet others are changing too. Do what you need to do and leave
the variables to be collected.
For subtle implementation reasons, you can't iterate using the
row
TreeIter. If you need to cycle over the model, get
a TreeIter pointing to the beginning of the model as follows:
row = source.getIterFirst(); do { // do whatever with each row } while (row.iterNext());