DataModelT.setValues

In a similar way to gda.data_model.DataModel.setValueAt, this method modifies a data model's contents by setting several values at once.

If any value in values is actually null, then the value in the corresponding column is left unchanged.

Upon errors FALSE will be returned and error will be assigned a #GError from the #GDA_DATA_MODEL_ERROR domain.

template DataModelT()
override
bool
setValues
(
int row
,)

Parameters

row int

row number.

values gobject.value.Value[]

a list of #GValue (or null), one for at most the number of columns of model

Return Value

Type: bool

true if the value in the data model has been updated and no error occurred

Throws