On Fri, 6 Nov 2009 10:27:29 +0800 Brian Wang <[email protected]> said:
> Hello all, > > >From elm_genlist.c's comments, I am assuming the when an item's > label_get/icon_get callback functions will be called only when it is > supposed to be shown on screen. However, I found that the callback > function of _every_ item in the genlist is called when the genlist > created. > Is that the designed behaviour? yes. how do you think it can know the size of your whole list without first checking the contents of every item? it's impossible to know. so first it asks every item - THEN it deletes any objects created or frees any string sand only keeps the active set. it will re-request on "changing" an item as well. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
