Am Wed, 11 Nov 2009 11:20:38 +0100 schrieb Cedric BAIL: > On Wed, Nov 11, 2009 at 3:20 AM, Gustavo Sverzut Barbieri > <barbi...@profusion.mobi> wrote: > > On Tue, Nov 10, 2009 at 9:05 PM, Andreas Volz <li...@brachttal.net> > > wrote: > >> Hello, > >> > >> how is it possible to send a signal to a swallowed subgroup in > >> edje? Is there a special syntax? > > > > i guess it's PARTNAME:SOURCE_TO_BE_USED_INSIDE_GROUP > > > > so you send this signal and it will translate into a signal > > SOURCE_TO_BE_USED_INSIDE_GROUP inside group automatically swallowed > > into PARTNAME. > > > > This mostly the same as: > > > > g = edje_object_part_object_get("PARTNAME") > > edje_object_signal_emit(g, "SIG", "SOURCE_TO_BE_USED_INSIDE_GROUP") > > In fact, it's a little bit strange, but when emitting signal to a > swallowed group you should prepend the PARTNAME before the SIGNAL with > a ":". The PARTNAME will be removed from the SIGNAL when forwarded. > > And when you want to watch for a SIGNAL from a swallowed SOURCE, you > need to prepend the SOURCE with the PARTNAME and a ":". I find this > incoherent, but it's perhaps just me.
Good to know, this would be my next question. But it sounds strange. Could anyone tell if this is really intended to work like this? regards Andreas ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel