As Gustavo Sverzut Barbieri and Carsten Haitzler(raster) mentioned, you can't manipulate edje part(including swallowed object) manually. Like raster suggested, you can create your own smart object for this usage. But if you just want to change the swallowed object's geometry, I hope you could try out with more ways.
1. edje evas map 2. unswallow and move 3. use edc transition with state change I hope any of these would help you. Thanks. Daniel Juyung Seo (SeoZ) On Sat, Aug 10, 2013 at 4:57 PM, 이준호 <eso...@gmail.com> wrote: > Sorry, not IMAGE, but SWALLOW. > I use SWALLOW part and put Evas object (image widget) > > Here are real codes... > I defined a group, like below. > > group { > name: "group"; > ...(blah)... > part { > name: "hbox"; > type: SWALLOW; > mouse_events: 1; > scale: 1; > description { > ...(blah)... > } > } > > ...(blah)... > > part { > name: "title"; > type: TEXTBLOCK; > mouse_events: 0; > scale: 1; > description { > ...(blah)... > } > } > ...(blah)... > } > } > > Then, control it in my .c code. > ("current" is evas object swallowed with above "hbox". I move it to > out of screen for showing transition effect) > > ...(blah)... > map = evas_map_new(4); > int x,y,w,h; > evas_object_geometry_get(current, &x, &y, &w, &h); > evas_map_util_points_populate_from_geometry(map, x, y, w, > h, 0); > ...(blah)... > evas_map_point_coord_set(map, 0, x, y_values[0], 0); > evas_map_point_coord_set(map, 1, x + w, y_values[1], 0); > evas_map_point_coord_set(map, 2, x + w, y_values[2], 0); > evas_map_point_coord_set(map, 3, y_values[3], 0); > > ... > evas_object_map_set(current, map); > evas_object_map_enable_set(current, 1); > > evas_map_free(map); > ...(blah)... > > > On Sat, Aug 10, 2013 at 4:46 PM, Carsten Haitzler <ras...@rasterman.com> > wrote: > > On Sat, 10 Aug 2013 16:41:35 +0900 이준호 <eso...@gmail.com> said: > > > > the image object is part of the edje obj? like a part {} ? are you using > > evas_map apis to move it? you are GETTING the object handle from edje > (via part > > name) and then manipulating it via map in your code? > > > >> Sorry, I attached image file, please refer it. > >> > >> On Sat, Aug 10, 2013 at 4:29 PM, Carsten Haitzler <ras...@rasterman.com > > > >> wrote: > >> > On Sat, 10 Aug 2013 16:21:06 +0900 이준호 <eso...@gmail.com> said: > >> > > >> > ummm.. your ascii diagram... doesnt seem to come out well at all. :( > >> > > >> >> Hello Guys, > >> >> Here are some questions about Evas Map object. > >> >> > >> >> When I control geometry values of Evas object using Evas Map to show > >> >> transition effect, > >> >> after transition has been done, If I update any object (such as TEXT > or > >> >> SWALLOW part) in same layout tree(?), > >> >> that geometry values to be reset. > >> >> > >> >> For example, > >> >> > >> >> There is a group in edj file and that group has 2 part. > >> >> One is TEXT part, and another is IMAGE, like below. > >> >> > >> >> |------------------------------| > >> >> |------------------------------| > >> >> | TEXT | | > TEXT > >> >> | > >> >> | (10,20) | | > >> >> | > >> >> | |----------------| | | > >> >> | > >> >> | | IMAGE | | =====> | (10,40) > >> >> | > >> >> | | | | | > >> >> |----------------| | > >> >> | |----------------| | | | > IMAGE > >> >> | | > >> >> | (40,50) | | | > >> >> | | > >> >> | | | > >> >> |----------------| | > >> >> | | | > >> >> (40,70) | > >> >> |------------------------------| > >> >> |------------------------------| > >> >> > >> >> In above case, I move IMAGE part to down of screen using evas map > API. > >> >> Then, I set new text into TEXT part (using > edje_object_part_text_set), > >> >> IMAGE object to be reset automatically, like below. > >> >> > >> >> |------------------------------| > >> >> |------------------------------| > >> >> > >> >> | TEXT | | > TEXT > >> >> | > >> >> | | | > (10,20) > >> >> | > >> >> | | | > >> >> |----------------| | > >> >> | (10,40) | =====> | | IMAGE > | > >> >> | > >> >> | |----------------| | | | > >> >> | | > >> >> | | IMAGE | | | > >> >> |----------------| | > >> >> | | | | | > >> >> (40,50) | > >> >> | |----------------| | | > >> >> | > >> >> | (40,70) | | > >> >> | > >> >> |------------------------------| > >> >> |------------------------------| > >> >> > >> >> Actually, I want to keep geometry of above IMAGE, even if some > object in > >> >> edje layout has been changed. > >> >> Is there any good idea?? > >> >> > ------------------------------------------------------------------------------ > >> >> Get 100% visibility into Java/.NET code with AppDynamics Lite! > >> >> It's a free troubleshooting tool designed for production. > >> >> Get down to code-level detail for bottlenecks, with <2% overhead. > >> >> Download for free and get started troubleshooting in minutes. > >> >> > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > >> >> _______________________________________________ > >> >> enlightenment-devel mailing list > >> >> enlightenment-devel@lists.sourceforge.net > >> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > >> >> > >> > > >> > > >> > -- > >> > ------------- Codito, ergo sum - "I code, therefore I am" > -------------- > >> > The Rasterman (Carsten Haitzler) ras...@rasterman.com > >> > > > > > > > -- > > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel