On Fri, 22 Oct 2010 10:41:48 +0800 whtuhtc tu <whtu...@gmail.com> said:
> Dear, > > Is it workable to delete elementray widget by using evas_object_del ? Will > it free memory completely. > > eg. > Evas_Object * btn = elm_button_add(win); > > evas_object_del(btn); > > It seems evas_object_del does not free memory completely. > If not, how do I free elementary widget effectively , even modify the source > code. it is workable and it does.. it just may take a few render cycles (2) until it is actually freed - this is needed for state handling in evas. also evas has caches so things will stay around in cache until it is flushed or recycled (just leave cache be - its there for a good reason to speed things up) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel