gda.data_model_iter

Module for [DataModelIter] class

Types 4

Methods
GType _gType() @property
DataModelIter self()Returns `this`, for use in `with` statements.
DataModelIterGidBuilder builder()Get builder for [gda.datamodeliter.DataModelIter] Returns: New builder object
int currentRow() @property
void currentRow(int propval) @property
void dataModel(gda.data_model.DataModel propval) @property
void forcedModel(gda.data_model.DataModel propval) @property
bool updateModel() @property
void updateModel(bool propval) @property
int getColumnForParam(gda.holder.Holder param)Get the column number in the #GdaDataModel for which iter is an iterator as represented by the param parameter
gda.holder.Holder getHolderForField(int col)Fetch a pointer to the #GdaHolder object which is synchronized with data at column col
int getRow()Get the row which iter represents in the data model Returns: the row number, or -1 if iter is invalid
gobject.value.Value getValueAt(int col)Get the value stored at the column col in iter. The returned value must not be modified.
gobject.value.Value getValueAtE(int col)Get the value stored at the column col in iter. The returned value must not be modified.
gobject.value.Value getValueForField(string fieldName)Get the value stored at the column field_name in iter
void invalidateContents()Declare all the parameters in iter invalid, without modifying the #GdaDataModel iter is for or changing the row it represents. This method is for internal usage. Note that for [gda.datamodeliter.Da...
bool isValid()Tells if iter is a valid iterator (if it actually corresponds to a valid row in the model) Returns: TRUE if iter is valid
bool moveNext()Moves iter one row further than where it already is (synchronizes the values of the parameters in iter with the values at the new row).
bool movePrev()Moves iter one row before where it already is (synchronizes the values of the parameters in iter with the values at the new row).
bool moveToRow(int row)Synchronizes the values of the parameters in iter with the values at the row row.
bool setValueAt(int col, gobject.value.Value value)Sets a value in iter, at the column specified by col
gulong connectEndOfData(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gda.data_model_iter.DataModelIter))) && Parameters!T.length < 2)Connect to `EndOfData` signal.
gulong connectRowChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == int))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gda.data_model_iter.DataModelIter))) && Parameters!T.length < 3)Connect to `RowChanged` signal.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [gda.data_model_iter.DataModelIter]

Constructors
this(GError * err)
this(Code code, string msg)