Hi,

This is not a valid use of the API. Only an elm widget can be used as a
parent object for another elm widget.

Regards,
Mike

On Tue, Apr 16, 2019 at 7:08 AM Jing <[email protected]> wrote:

> I mean can elm widet be added to the same Evas canvas with edje.   Can i
> use insert elm like:
>
>
> ecore_evas_init -->
> edje_init-->
> ecore_evas_new-->
> ecore_evas_get-->
> bg =evas_object_rectangle_add-->
> elm_win_add(bg, NULL, ELM_WIN_BASIC);   // Not sure whether it is
> reasonable
>
> edje_object_add-->
> edje_object_file_set->
> ecore_evas_show-->
> ecore_main_loop_begin-->
> ecore_evas_free-->
> ecore_evas_shutdown-->
> edje_shutdown
>
>
>
> At 2019-04-16 18:29:29, "Vincent Torri" <[email protected]> wrote:
> >On Tue, Apr 16, 2019 at 12:22 PM Jing <[email protected]> wrote:
> >>
> >> Hi all,
> >>
> >>
> >> According to the efl examples, the basic process flow of edje usage is:
> >>
> >>
> >> ecore_evas_init -->
> >> edje_init-->
> >> ecore_evas_new-->
> >> ecore_evas_get-->
> >> evas_object_rectangle_add-->
> >> edje_object_add-->
> >> edje_object_file_set->
> >> ecore_evas_show-->
> >> ecore_main_loop_begin-->
> >> ecore_evas_free-->
> >> ecore_evas_shutdown-->
> >> edje_shutdown
> >>
> >>
> >> The basic process flow of elementary usage is:
> >>
> >>
> >> elm_win_util_standard_add-->
> >> elm_box_add-->
> >> elm_button_add-->
> >> elm_entry_add-->
> >> elm_list_add-->
> >> evas_object_show-->
> >> elm_box_pack_end-->
> >> evas_object_resize-->
> >> evas_object_show-->
> >> elm_run
> >>
> >>
> >> Elemetary add edje is ok, use elm_layout_add and elm_layout_file_set.
> >>
> >>
> >> For edje add elemetary , can i insert the elm function to edje flow ?
> Can i create an elm win base on edje evas ?
> >
> >if i'm not mistaken, an elm widet is an evas object
> >
> >Vincent
> >
> >
> >_______________________________________________
> >enlightenment-devel mailing list
> >[email protected]
> >https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to