DataModelIter.moveToRow

Synchronizes the values of the parameters in iter with the values at the row row.

If row is not a valid row, then the returned value is false, and the "current-row" property is set to -1 (which means that gda.data_model_iter.DataModelIter.isValid would return false), with the exception that if row is -1, then the returned value is true.

This function can return false if it was not allowed to be moved (as it emits the "validate-set" signal before being moved).

When this function returns true, then iter has actually been moved to the next row, but some values may not have been read correctly in the row, in which case the correcsponding #GdaHolder will be left invalid.

class DataModelIter
bool
moveToRow
(
int row
)

Parameters

row int

the row to set iter to

Return Value

Type: bool

true if no error occurred