Osso Addressbook Reference Manual | ||||
---|---|---|---|---|
OssoABookRowModelIface; gpointer osso_abook_row_model_iter_get_row (OssoABookRowModel *model, GtkTreeIter *iter); gboolean osso_abook_row_model_row_get_iter (OssoABookRowModel *model, gconstpointer row, GtkTreeIter *iter);
The OssoABookRowModel interface can be used in custom GtkTreeModel implementations to provide quick access to the tree model's internal row data.
typedef struct { gpointer (*iter_get_row) (OssoABookRowModel *model, GtkTreeIter *iter); gboolean (*row_get_iter) (OssoABookRowModel *model, gconstpointer row, GtkTreeIter *iter); } OssoABookRowModelIface;
Virtual methods of the OssoABookRowModel interface.
iter_get_row () |
virtual method for osso_abook_row_model_iter_get_row()
|
row_get_iter () |
virtual method for osso_abook_row_model_row_get_iter()
|
gpointer osso_abook_row_model_iter_get_row (OssoABookRowModel *model, GtkTreeIter *iter);
Retrieves the internal row representation for this tree model.
model : |
a OssoABookRowModel |
iter : |
the GtkTreeIter of the row |
Returns : | A row of the GtkTreeModel. |
gboolean osso_abook_row_model_row_get_iter (OssoABookRowModel *model, gconstpointer row, GtkTreeIter *iter);
Retrieves the GtkTreeIter for an internal row the tree model.
model : |
a OssoABookRowModel |
row : |
the row to lookup |
iter : |
storage for the GtkTreeIter of the row |
Returns : | TRUE when row is an internal row, FALSE otherwise.
|