On Fri, 17 Jul 2009 11:13:00 +0200 Andreas Volz <li...@brachttal.net> said:

> Hello,
> 
> while wrapping Elementary to C++ I have this problem:
> 
> How could I find out in the parent container widget that a child widget
> has been added or removed. I tried the "sub-object-add" and
> "sub-object-del" callback, but it's not what I want as it calls this
> signal more often than when I add/del an object to a container. Maybe
> the member_add and member_del callbacks in ESMART are what I need, but
> they're not used in Elementary. Any other ideas?
> 
> I tried to suicide my C++ object if the C object deletes itself and
> throws the delete signal, but that's a very bad design. It's the job
> of the container to destroy the widgets.

hmm. the problem is that none of the internal widget structuring is exposed -
and you'd need this. the problem is - it's not exposed. i havent exposed it
because.. the internals were planned on changing dramatically to use the gurana
ones. that is the problem - that was going to happen around christmas last year
- didn't happen. it was put off then has languished. the moment we expose these
innards someone (like you) will build on them and as a result, set them in
stone. the gurana merge then pretty much can't ever happen. so i'm waiting on
that - or until it's a "it will never happen so dont worry"

--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
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

Reply via email to