insert_row_before


Description:

public abstract unowned ModelIter insert_row_before (ModelIter iter, Variant[] row_members)

As insert_before, but intended for language bindings or situations where you work with models on a meta level and may not have a priori knowledge of the column schemas of the models.

See also dee_model_build_row.

Parameters:

this

a Model

iter

An iter pointing to the row before which to insert the new one

row_members

An array of Variants with type signature matching those of the column schemas of this. If any of the variants have floating references they will be consumed.

Returns:

A ModelIter pointing to the new row