Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studo Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studo Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
Genlist dont show element
Ho to all!
I have this code:
ad->open_win = elm_win_util_standard_add(PACKAGE, PACKAGE);
elm_win_autodel_set(ad->open_win, EINA_TRUE);
Evas_Object *open_conform;
Evas_Object *open_table;
open_conform = elm_conformant_add(ad->open_win);
elm_win_indicator_mode_set(ad->open_win, ELM_WIN_INDICATOR_SHOW);
elm_win_indicator_opacity_set(ad->open_win, ELM_WIN_INDICATOR_OPAQUE);
evas_object_size_hint_weight_set(open_conform, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(ad->open_win, open_conform);
evas_object_show(open_conform);
open_table = elm_table_add(ad->open_win);
elm_object_content_set(open_conform, open_table);
evas_object_show(open_table);
/*List view*/
ad->file_list = elm_genlist_add(open_table);
ad->file_itc = elm_genlist_item_class_new();
ad->file_itc->item_style = “default”;
ad->file_itc->func.text_get = _item_label_get;
ad->file_itc->func.content_get = NULL;
ad->file_itc->func.state_get = NULL;
ad->file_itc->func.del = NULL;
int i = 1;
elm_list_mode_set(ad->file_list, ELM_LIST_COMPRESS);
elm_genlist_item_append(ad->file_list, ad->file_itc, (void *)i, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);
evas_object_size_hint_weight_set(ad->file_list, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(ad->file_list, EVAS_HINT_FILL, 0.5);
elm_table_pack(open_table, ad->file_list,0,0,4,4);
elm_list_go(ad->file_list);
evas_object_show(ad->file_list);
/*List view End*/
But dont show the element i the list…
I can not detect the fault, any suggestion?
Thanks to all!
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio