Well, this time I am trying to make a “preferences” window, something like, you push a “preferences” button and the view changes (view means window or conform of naviframe, I dont know what to use…) and you go to preferences form, and you can back to the main view pressing the back button.
I found a naviframe object, seams work for this, but the documentation is too confuse (or I am too stupid), and I have few questions:
How to switch window view
Hello to all,
Well, this time I am trying to make a “preferences” window, something like, you push a “preferences” button and the view changes (view means window or conform of naviframe, I dont know what to use…) and you go to preferences form, and you can back to the main view pressing the back button.
I found a naviframe object, seams work for this, but the documentation is too confuse (or I am too stupid), and I have few questions:
ad->conform = elm_conformant_add(ad->win);
elm_win_indicator_mode_set(ad->win, ELM_WIN_INDICATOR_SHOW);
elm_win_indicator_opacity_set(ad->win, ELM_WIN_INDICATOR_OPAQUE);
evas_object_size_hint_weight_set(ad->conform, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(ad->win, ad->conform);
evas_object_show(ad->conform);
ad->naviframe = elm_naviframe_add(ad->win);
elm_naviframe_prev_btn_auto_pushed_set(ad->naviframe, EINA_TRUE);
evas_object_size_hint_weight_set(ad->naviframe, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(ad->win, ad->naviframe);
evas_object_show(ad->naviframe);
Evas_Object *table;
table = elm_table_add(ad->win);
elm_object_content_set(ad->conform, table);
evas_object_show(table);
Evas_Object *table;
table = elm_table_add(ad->win);
elm_object_content_set(ad->naviframe, table);
evas_object_show(table);
—–Can I accept that conform is going a be the main view and naviframe the secundary?
—–How to activate the naviframe view? (because my program only shows the conform now)
—–Can I only make onother window od conform object and show or hide them for activate or deactivate views? (maybe easier)
ad->conform1 = elm_conformant_add(ad->win1);
ad->conform2 = elm_conformant_add(ad->win2);
evas_object_show(ad->conform1);
//push button
evas_object_hide(ad->conform1);
evas_object_show(ad->conform2);
Please guys, dont send me to this link! Its hell
https://developer.tizen.org/development/ui-practices/native-application/efl/ui-containers/creating-form-basic-application-layout
Thanks to all!
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio