GcrUi.CollectionModel.iter_for_object

### Method

# GcrUi CollectionModeliter_for_object

#### Declaration [src]

    gboolean
    gcr_collection_model_iter_for_object (
      GcrCollectionModel* self,
      GObject* object,
      GtkTreeIter* iter
    )

#### Description [src]

Set `iter` to the row for the given object. If the object is not in this model, then `FALSE` will be returned.

#### Parameters

`object`

  Type: `GObject`

  The object.

  The data is owned by the caller of the method.

`iter`

  Type: `GtkTreeIter`

  The row for the object.

  The data is owned by the caller of the method.

#### Return value

Type: `gboolean`

`TRUE` if the object was present.