Example #1
0
static void
_select_next_cb(void *data, Evas_Object *obj, void *event_info)
{
   Elm_Object_Item *selected_item, *next_item;
   Evas_Object *li = data;

   selected_item = elm_list_selected_item_get(li);
   if (!selected_item) return;

   next_item = elm_list_item_next(selected_item);
   if (next_item)
     elm_list_item_selected_set(next_item, EINA_TRUE);
}
Example #2
0
/* Button "Next" from Browse Page */
static void
next_clicked (void *data, Evas_Object *obj, const char *emission, const char *source)
{
   Db_Entry *Contact;
   Elm_List_Item *next;

   next = elm_list_item_next(App.selection);

   if (next)
     {
	App.selection = next;
	elm_list_item_selected_set(App.selection, EINA_TRUE);
	Contact = (Db_Entry*) elm_list_item_data_get(App.selection);
	load_values(Contact);
     }
}