| Top |  |  |  |  | 
| ClutterModelIter * | clutter_model_iter_copy () | 
| void | clutter_model_iter_get () | 
| void | clutter_model_iter_get_valist () | 
| void | clutter_model_iter_get_value () | 
| void | clutter_model_iter_set () | 
| void | clutter_model_iter_set_valist () | 
| void | clutter_model_iter_set_value () | 
| gboolean | clutter_model_iter_is_first () | 
| gboolean | clutter_model_iter_is_last () | 
| ClutterModelIter * | clutter_model_iter_next () | 
| ClutterModelIter * | clutter_model_iter_prev () | 
| ClutterModel * | clutter_model_iter_get_model () | 
| guint | clutter_model_iter_get_row () | 
ClutterModelIter is an object used for iterating through all the rows of a ClutterModel. It allows setting and getting values on the row which is currently pointing at.
A ClutterModelIter represents a position between two elements
of the sequence. For example, the iterator returned by
clutter_model_get_first_iter() represents the gap immediately before
the first row of the ClutterModel, and the iterator returned by
clutter_model_get_last_iter() represents the gap immediately after the
last row.
A ClutterModelIter can only be created by a ClutterModel implementation and it is valid as long as the model does not change.
ClutterModelIter is available since Clutter 0.6
ClutterModelIter *
clutter_model_iter_copy (ClutterModelIter *iter);
clutter_model_iter_copy has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Copies the passed iterator.
Since: 0.8
void clutter_model_iter_get (ClutterModelIter *iter,...);
clutter_model_iter_get has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Gets the value of one or more cells in the row referenced by iter
. The
variable argument list should contain integer column numbers, each column
column number followed by a place to store the value being retrieved. The
list is terminated by a -1.
For example, to get a value from column 0 with type G_TYPE_STRING use:
| 1 | clutter_model_iter_get (iter, 0, &place_string_here, -1); | 
where place_string_here is a gchar* to be filled with the string. If appropriate, the returned values have to be freed or unreferenced.
Since: 0.6
void clutter_model_iter_get_valist (ClutterModelIter *iter,va_list args);
clutter_model_iter_get_valist has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
See clutter_model_iter_get(). This version takes a va_list for language
bindings.
Since: 0.6
void clutter_model_iter_get_value (ClutterModelIter *iter,guint column,GValue *value);
clutter_model_iter_get_value has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Sets an initializes value
 to that at column
. When done with value
, 
g_value_unset() needs to be called to free any allocated memory.
Since: 0.6
void clutter_model_iter_set (ClutterModelIter *iter,...);
clutter_model_iter_set has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Sets the value of one or more cells in the row referenced by iter
. The
variable argument list should contain integer column numbers, each column
column number followed by the value to be set. The  list is terminated by a
-1.
For example, to set column 0 with type G_TYPE_STRING, use:
| 1 | clutter_model_iter_set (iter, 0, "foo", -1); | 
Since: 0.6
void clutter_model_iter_set_valist (ClutterModelIter *iter,va_list args);
clutter_model_iter_set_valist has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
See clutter_model_iter_set(); this version takes a va_list for language
bindings.
Since: 0.6
void clutter_model_iter_set_value (ClutterModelIter *iter,guint column,const GValue *value);
clutter_model_iter_set_value has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Sets the data in the cell specified by iter
 and column
. The type of
value
 must be convertable to the type of the column.
Since: 0.6
gboolean
clutter_model_iter_is_first (ClutterModelIter *iter);
clutter_model_iter_is_first has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Gets whether the current iterator is at the beginning of the model to which it belongs.
Since: 0.6
gboolean
clutter_model_iter_is_last (ClutterModelIter *iter);
clutter_model_iter_is_last has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Gets whether the iterator is at the end of the model to which it belongs.
Since: 0.6
ClutterModelIter *
clutter_model_iter_next (ClutterModelIter *iter);
clutter_model_iter_next has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Updates the iter
 to point at the next position in the model.
The model implementation should take into account the presence of
a filter function.
Since: 0.6
ClutterModelIter *
clutter_model_iter_prev (ClutterModelIter *iter);
clutter_model_iter_prev has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Sets the iter
 to point at the previous position in the model.
The model implementation should take into account the presence of
a filter function.
Since: 0.6
ClutterModel *
clutter_model_iter_get_model (ClutterModelIter *iter);
clutter_model_iter_get_model has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Retrieves a pointer to the ClutterModel that this iter is part of.
Since: 0.6
guint
clutter_model_iter_get_row (ClutterModelIter *iter);
clutter_model_iter_get_row has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Retrieves the position of the row that the iter
 points to.
Since: 0.6
struct ClutterModelIter;
ClutterModelIter has been deprecated since version 1.24 and should not be used in newly-written code.
Use custom iterators for GListModel
Base class for list models iters. The ClutterModelIter structure contains only private data and should be manipulated using the provided API.
Since: 0.6
struct ClutterModelIterClass {
  /* vtable not signals */
  void              (* get_value) (ClutterModelIter *iter, 
                                   guint             column, 
                                   GValue           *value);
  void              (* set_value) (ClutterModelIter *iter, 
                                   guint             column, 
                                   const GValue     *value);
  gboolean          (* is_first)  (ClutterModelIter *iter);
  gboolean          (* is_last)   (ClutterModelIter *iter);
  ClutterModelIter *(* next)      (ClutterModelIter *iter);
  ClutterModelIter *(* prev)      (ClutterModelIter *iter);
  ClutterModel *    (* get_model) (ClutterModelIter *iter);
  guint             (* get_row)   (ClutterModelIter *iter);
  ClutterModelIter *(* copy)      (ClutterModelIter *iter);
};
ClutterModelIterClass has been deprecated since version 1.24 and should not be used in newly-written code.
Use custom iterators for GListModel
Class for ClutterModelIter instances.
| Virtual function for retrieving the value at the given column of the row pointed by the iterator | ||
| Virtual function for setting the value at the given column of the row pointer by the iterator | ||
| Virtual function for knowing whether the iterator points at the first row in the model | ||
| Virtual function for knowing whether the iterator points at the last row in the model | ||
| Virtual function for moving the iterator to the following row in the model | ||
| Virtual function for moving the iterator toe the previous row in the model | ||
| Virtual function for getting the model to which the iterator belongs to | ||
| Virtual function for getting the row to which the iterator points | ||
| Virtual function for copying a ClutterModelIter. | 
Since: 0.6
“model” property“model” ClutterModel *
A reference to the ClutterModel that this iter belongs to.
ClutterModelIter:model has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Flags: Read / Write
Since: 0.6
“row” property  “row”                      guint
The row number to which this iter points to.
ClutterModelIter:row has been deprecated since version 1.24 and should not be used in newly-written code.
Use GListModel instead
Flags: Read / Write
Default value: 0
Since: 0.6