Example #1
0
static void
clutter_list_model_iter_class_init (ClutterListModelIterClass *klass)
{
  ClutterModelIterClass *iter_class = CLUTTER_MODEL_ITER_CLASS (klass);

  iter_class->get_value = clutter_list_model_iter_get_value;
  iter_class->set_value = clutter_list_model_iter_set_value;
  iter_class->is_first  = clutter_list_model_iter_is_first;
  iter_class->is_last   = clutter_list_model_iter_is_last;
  iter_class->next      = clutter_list_model_iter_next;
  iter_class->prev      = clutter_list_model_iter_prev;
  iter_class->copy      = clutter_list_model_iter_copy;
}
Example #2
0
static void
gmc_video_model_iter_class_init (GmcVideoModelIterClass *klass)
{
  ClutterModelIterClass *model_iter_class = CLUTTER_MODEL_ITER_CLASS (klass);

  model_iter_class->get_value = gmc_video_model_iter_get_value;
  model_iter_class->set_value = gmc_video_model_iter_set_value;
  /*
  gboolean          (* is_first)  (ClutterModelIter *iter);
  gboolean          (* is_last)   (ClutterModelIter *iter);
  */

  model_iter_class->next = gmc_video_model_iter_next;
  model_iter_class->prev = gmc_video_model_iter_prev;
}