hi,
I think that if I use SIGNAL_EMIT to emit the signal when
the whole swallowed part received the "mouse" signal
but please give a suggestion on how to differ special
swallowed part
thanks!
> hi,
>
> the minimum working sample of the problem and the backtrace :
>
> self.meeting = edje.Edje(self.ee.evas,
> file=self.edje_file,
> group="sub_menu")
>
> self.meeting_icon=edje.Edje(self.ee.evas,
> file=self.edje_file,
>
> group="meeting_icon")
> self.meeting.part_swallow("contents",self.meeting_icon)
>
>
> self.main_group.part_swallow("sub_menu_contents",self.meeting)
> self.meeting.signal_emit("transition,in",source)
>
> self.main_group.focus =False
> self.main_group.part_object_get("sub_menu_contents").focus
> =True
>
> self.main_group.show()
>
> when I clicked the "meeting_icon" it still output :
> " Mouse Clicked: sub_menu_contents "
> not the corresponding icon clicked . I don't know what
the
> proble is ?
2008/10/27 <[EMAIL PROTECTED]>
> Send enlightenment-devel mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
> You can reach the person managing the list at
> [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of enlightenment-devel digest..."
>
>
> Today's Topics:
>
> 1. Re: E SVN: mekius trunk/eterm/libast/test (Christopher Michael)
> 2. Re: E SVN: raster trunk/evas/src/lib/canvas (Christopher Michael)
> 3. Re: E SVN: englebass trunk/e/src/bin (Christopher Michael)
> 4. Re: evil trouble (Samuel Nicholas)
> 5. Re: evil trouble (Vincent Torri)
> 6. Re: can't focus on swallowed part (Gustavo Sverzut Barbieri)
> (Gustavo Sverzut Barbieri)
> 7. Re: can't focus on swallowed part (Gustavo Sverzut Barbieri)
> (Gustavo Sverzut Barbieri)
> 8. Re: E SVN: barbieri IN trunk/evas/src/lib: . canvas
> (Jose Gonzalez)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 27 Oct 2008 01:51:03 -0400
> From: Christopher Michael <[EMAIL PROTECTED]>
> Subject: Re: [E-devel] E SVN: mekius trunk/eterm/libast/test
> To: [email protected]
> Cc: [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Nice One NiCK !!!!
>
> dh
>
> Enlightenment SVN wrote:
> > Log:
> > Fix a bug in perf test. Don't delete strings in use :)
> > Author: mekius
> > Date: 2008-10-26 16:27:28 -0700 (Sun, 26 Oct 2008)
> > New Revision: 37185
> >
> > Modified:
> > trunk/eterm/libast/test/perf.c
> >
> > Modified: trunk/eterm/libast/test/perf.c
> > ===================================================================
> > --- trunk/eterm/libast/test/perf.c 2008-10-26 23:19:28 UTC (rev 37184)
> > +++ trunk/eterm/libast/test/perf.c 2008-10-26 23:27:28 UTC (rev 37185)
> > @@ -412,7 +412,7 @@
> > char *display = NULL, *name = NULL, *theme = NULL, **exec = NULL,
> **foo = NULL;
> > long color = 0;
> > spif_uint32_t options = 0;
> > - static void handle_theme(char *val_ptr) {theme = STRDUP(val_ptr);}
> > + void handle_theme(char *val_ptr) {theme = STRDUP(val_ptr);}
> > char *argv2[] = { "test", "-rt", "mytheme", "--name", "This is a
> name", "--exec=ssh [EMAIL PROTECTED]", "--scrollbar",
> > "--buttonbar", "no", "--login=0", "-mvd", "foo:0",
> "--color", "4", "--foo", "blah", "-d", "eatme", NULL };
> > int argc2 = 18;
> > @@ -654,7 +654,6 @@
> > testtok = spif_tok_new_from_ptr(tmp2);
> > teststr = spif_str_new_from_ptr(":");
> > spif_tok_set_sep(testtok, teststr);
> > - spif_str_del(teststr);
> > PERF_TEST(spif_tok_eval(testtok););
> > spif_tok_del(testtok);
> >
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > enlightenment-svn mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
> >
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 27 Oct 2008 02:23:00 -0400
> From: Christopher Michael <[EMAIL PROTECTED]>
> Subject: Re: [E-devel] E SVN: raster trunk/evas/src/lib/canvas
> To: [email protected]
> Cc: [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I would Agree....tho are those in the past that say we have done just
> that.....
>
> Isn't that what we do...duplicate code ? :P.....well after a while
> doesn't that code become better??
>
> Long Live E
>
>
> dh (cpm)
>
>
> Enlightenment SVN wrote:
> > Log:
> > dont repeat code
> >
> >
> > Author: raster
> > Date: 2008-10-26 20:12:59 -0700 (Sun, 26 Oct 2008)
> > New Revision: 37191
> >
> > Modified:
> > trunk/evas/src/lib/canvas/evas_object_textblock.c
> >
> > Modified: trunk/evas/src/lib/canvas/evas_object_textblock.c
> > ===================================================================
> > --- trunk/evas/src/lib/canvas/evas_object_textblock.c 2008-10-27 03:03:59
> UTC (rev 37190)
> > +++ trunk/evas/src/lib/canvas/evas_object_textblock.c 2008-10-27 03:12:59
> UTC (rev 37191)
> > @@ -2682,22 +2682,11 @@
> > _prepend_escaped_char(Evas_Textblock_Cursor *cur, const char *s,
> > const char *s_end)
> > {
> > - const char *map_itr, *map_end;
> > -
> > - map_itr = escape_strings;
> > - map_end = map_itr + sizeof(escape_strings);
> > -
> > - while (map_itr < map_end)
> > - {
> > - if (_is_eq_and_advance(s, s_end, &map_itr, map_end))
> > - {
> > - evas_textblock_cursor_text_prepend(cur, map_itr);
> > - return;
> > - }
> > -
> > - if (map_itr < map_end)
> > - _advance_after_end_of_string(&map_itr);
> > - }
> > + const char *escape;
> > +
> > + escape = _escaped_char_get(s, s_end);
> > + if (escape)
> > + evas_textblock_cursor_text_prepend(cur, escape);
> > }
> >
> > /**
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > enlightenment-svn mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
> >
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 27 Oct 2008 03:45:16 -0400
> From: Christopher Michael <[EMAIL PROTECTED]>
> Subject: Re: [E-devel] E SVN: englebass trunk/e/src/bin
> To: [email protected]
> Cc: [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> damn Seb...most all we do is format...
>
> dh
>
> Enlightenment SVN wrote:
> > Log:
> > Fix while formatting.
> > Author: englebass
> > Date: 2008-10-27 00:34:45 -0700 (Mon, 27 Oct 2008)
> > New Revision: 37209
> >
> > Modified:
> > trunk/e/src/bin/e_fm_main.c
> >
> > Modified: trunk/e/src/bin/e_fm_main.c
> > ===================================================================
> > --- trunk/e/src/bin/e_fm_main.c 2008-10-27 07:34:34 UTC (rev 37208)
> > +++ trunk/e/src/bin/e_fm_main.c 2008-10-27 07:34:45 UTC (rev 37209)
> > @@ -1206,7 +1206,7 @@
> > Eina_List *l = _e_fm_tasks;
> > E_Fm_Task *task;
> >
> > - while(l)
> > + while (l)
> > {
> > task = eina_list_data_get(l);
> > if (task->id == id)
> >
> >
> > -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> > Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> > Grand prize is a trip for two to an Open Source event anywhere in the
> world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > enlightenment-svn mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
> >
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 27 Oct 2008 19:54:22 +1030
> From: Samuel Nicholas <[EMAIL PROTECTED]>
> Subject: Re: [E-devel] evil trouble
> To: Vincent Torri <[EMAIL PROTECTED]>
> Cc: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Vincent Torri wrote:
> >
> > Hey
> >
> > I had to compile the link code with g++, hence putting IID_PersistFile
> > was not possible (at least, i didn't succeed). So I put the code in a
> > separate file like Lars did.
> >
> > I've attached a patch. Please test it. It compiles correctly on my
> > system.
> >
> > Vincent
> compiles fine here too.
>
> patch didnt apply cleanly from latest svn tho, configure.ac and
> makefile.am i manually resolved
>
> having it depend on c++ for such a small thing IMHO aint all that great..
> (i was going to apply lars's patch to test, but since it worked i wasnt
> going to mess furthur)
>
> changing CHECK_HEADERS_ONCE wasnt necessary.... so i didnt put that part in
>
> you ppl are awesome thx
>
> ps.. looks like eina uses pkgconfig macro in its configure script to
> find evil and ememoa. so I suggest editing the wiki slightly :)
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 27 Oct 2008 10:29:36 +0100 (CET)
> From: Vincent Torri <[EMAIL PROTECTED]>
> Subject: Re: [E-devel] evil trouble
> To: Samuel Nicholas <[EMAIL PROTECTED]>
> Cc: [email protected]
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
>
>
> On Mon, 27 Oct 2008, Samuel Nicholas wrote:
>
> > compiles fine here too.
>
> ok
>
> > patch didnt apply cleanly from latest svn tho, configure.ac and
> makefile.am i
> > manually resolved
>
> yes, I know, but didn't have time this morning to fix that.
>
> > having it depend on c++ for such a small thing IMHO aint all that great..
> > (i was going to apply lars's patch to test, but since it worked i wasnt
> > going to mess furthur)
>
> actually, it's better to have c++ here: the COM interface (used for
> generating .lnk files) is C++, it's simpler than using the C interface. In
> additin, i am not sure that the previous code were working correctly...
>
> > changing CHECK_HEADERS_ONCE wasnt necessary.... so i didnt put that part
> in
>
> it was for me. Problem with autoconf... I'll check again.
>
> > ps.. looks like eina uses pkgconfig macro in its configure script to find
> > evil and ememoa. so I suggest editing the wiki slightly :)
>
> Indeed. I'll do that this evening.
>
> thank you
>
> Vincent
>
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 27 Oct 2008 08:03:17 -0200
> From: "Gustavo Sverzut Barbieri" <[EMAIL PROTECTED]>
> Subject: Re: [E-devel] can't focus on swallowed part (Gustavo Sverzut
> Barbieri)
> To: "dongmei zhou" <[EMAIL PROTECTED]>
> Cc: [email protected]
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=UTF-8
>
> On Mon, Oct 27, 2008 at 12:55 AM, dongmei zhou
> <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > the minimum working sample of the problem and the backtrace :
> >
> > self.meeting = edje.Edje(self.ee.evas,
> > file=self.edje_file,
> > group="sub_menu")
> >
> > self.meeting_icon=edje.Edje(self.ee.evas,
> > file=self.edje_file,
> >
> > group="meeting_icon")
> > self.meeting.part_swallow("contents",self.meeting_icon)
> >
> >
> > self.main_group.part_swallow("sub_menu_contents",self.meeting)
> > self.meeting.signal_emit("transition,in",source)
> >
> > self.main_group.focus =False
> > self.main_group.part_object_get("sub_menu_contents").focus
> > =True
> >
> > self.main_group.show()
> >
> > when I clicked the "meeting_icon" it still output :
> > " Mouse Clicked: sub_menu_contents "
> > not the corresponding icon clicked . I don't know what
> the
> > proble is ?
>
> the problem is that focus has nothing to do with mouse, it's just to
> know to which object keyboard events will go, and be aware that these
> events will be dispatched to parent objects (those that you do
> member_add, like swallow does).
>
> Possible you have something with mouse_events:1 (the default) on top
> of your swallow, or your swallowed icon has mouse_events:0 and are not
> capturing the events.
>
> --
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --------------------------------------
> MSN: [EMAIL PROTECTED]
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 27 Oct 2008 08:03:17 -0200
> From: "Gustavo Sverzut Barbieri" <[EMAIL PROTECTED]>
> Subject: Re: [E-devel] can't focus on swallowed part (Gustavo Sverzut
> Barbieri)
> To: "dongmei zhou" <[EMAIL PROTECTED]>
> Cc: [email protected]
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=UTF-8
>
> On Mon, Oct 27, 2008 at 12:55 AM, dongmei zhou
> <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > the minimum working sample of the problem and the backtrace :
> >
> > self.meeting = edje.Edje(self.ee.evas,
> > file=self.edje_file,
> > group="sub_menu")
> >
> > self.meeting_icon=edje.Edje(self.ee.evas,
> > file=self.edje_file,
> >
> > group="meeting_icon")
> > self.meeting.part_swallow("contents",self.meeting_icon)
> >
> >
> > self.main_group.part_swallow("sub_menu_contents",self.meeting)
> > self.meeting.signal_emit("transition,in",source)
> >
> > self.main_group.focus =False
> > self.main_group.part_object_get("sub_menu_contents").focus
> > =True
> >
> > self.main_group.show()
> >
> > when I clicked the "meeting_icon" it still output :
> > " Mouse Clicked: sub_menu_contents "
> > not the corresponding icon clicked . I don't know what
> the
> > proble is ?
>
> the problem is that focus has nothing to do with mouse, it's just to
> know to which object keyboard events will go, and be aware that these
> events will be dispatched to parent objects (those that you do
> member_add, like swallow does).
>
> Possible you have something with mouse_events:1 (the default) on top
> of your swallow, or your swallowed icon has mouse_events:0 and are not
> capturing the events.
>
> --
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --------------------------------------
> MSN: [EMAIL PROTECTED]
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202
>
>
>
> ------------------------------
>
> Message: 8
> Date: Mon, 27 Oct 2008 06:29:05 -0400
> From: Jose Gonzalez <[EMAIL PROTECTED]>
> Subject: Re: [E-devel] E SVN: barbieri IN trunk/evas/src/lib: . canvas
> To: Gustavo Sverzut Barbieri <[EMAIL PROTECTED]>
> Cc: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Gustavo wrote:
>
> > On Mon, Oct 27, 2008 at 12:22 AM, Enlightenment SVN
> > <[EMAIL PROTECTED]> wrote:
> >
> >> Log:
> >> add evas_object_box.
> >>
> >> Box is a smart object to help with the common task of laying out lots
> >> of objects. It's very flexibile and one can customize the layout
> >> function on a per-object basis dynamically, just set a new layout
> >> function (the most common are provided). By default layouts use size
> >> hints from children to do their work, but one can also add new
> >> properties, just subclass with evas_object_smart_smart_set() and then
> >> define your own option_* callbacks.
> >>
> >> This code was ported from Guarana (widgets/sequence_box.c) with
> >> permission of ProFUSION embedded systems so it can be relicensed from
> >> LGPL to Evas license.
> >>
> >> Original author: Gustavo Lima Chaves <[EMAIL PROTECTED]>
> >> Port: Gustavo Sverzut Barbieri <[EMAIL PROTECTED]>
> >>
> >
> > This code is part of our effort to unify common code into base libs,
> > where its worth to avoid duplicating code over and over again.
> >
> > With that in Evas, we can now expose it in Edje and use it in Guarana
> > and Elementary and possible any other toolkit. It uses Evas_Object's
> > size hints infrastructure, but can be extended to have its own
> > properties if one wish.
> >
> > Attached is a test case and example. You can try to hack your own
> > fancy layout function, it's it's generic and useful to others, add it
> > to evas as well (Like layout using a Bezier or any other path).
> >
> > People implementing Ecore Evas can now use layout "stack" and
> > ecore_evas_object_associate() to provide the "main window" concept,
> > just add your background and then your object to the evas_object_box
> > and associate this box to the window. If you want your background to
> > scale in both directions, just set it's aligns to -1.0 and -1.0.
> >
> >
> This is the kind of thing that I hoped evas would avoid tending to, and
> yet both raster and gustavo seem prone to want to get into. :(
> I know it's tempting to add more and more specialized layout/widgetry
> 'objects' to the core evas lib/api, but I think it's a big mistake for evas
> in the long run.
>
> It's not hard to start extending evas *and* edje to allow for custom
> objects,
> even if at first all such object modules need to access evas internals.
> Adding
> these kinds of things, whether text-grid objs, or box objs, or table objs,
> etc..
> directly into the evas lib api is likely to become 'not a good idea'.
>
>
>
> ____________________________________________________________
> Get help now! Click to find the right drug rehab solution for you.
>
> http://thirdpartyoffers.juno.com/TGL2141/fc/Ioyw6i3nCeLigAmJXBfTuEsSFYmM6hirn9RsaONj83V0V7Xrmvw3qE/
>
>
>
> ------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>
> ------------------------------
>
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>
> End of enlightenment-devel Digest, Vol 30, Issue 52
> ***************************************************
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel