pub trait TreeStoreExtManual: 'static {
fn insert_with_values(
&self,
parent: Option<&TreeIter>,
position: Option<u32>,
columns_and_values: &[(u32, &dyn ToValue)]
) -> TreeIter;
fn reorder(&self, parent: &TreeIter, new_order: &[u32]);
fn set(&self, iter: &TreeIter, columns_and_values: &[(u32, &dyn ToValue)]);
fn set_value(&self, iter: &TreeIter, column: u32, value: &Value);
}
Reorders the children of parent
in self
to follow the order
indicated by new_order
. Note that this function only works with
unsorted stores.
A TreeIter
, or None
an array of integers mapping the new position of each child
to its old position before the re-ordering,
i.e. new_order``[newpos] = oldpos
.
Sets the data in the cell specified by iter
and column
.
The type of value
must be convertible to the type of the
column.
A valid TreeIter
for the row being modified
column number to modify
new value for the cell