On Wed, 29 May 2013 15:31:00 -0300 "Eduardo Lima (Etrunko)" <ebl...@gmail.com>
said:

> On Wed, May 29, 2013 at 3:05 PM, Davide Andreoli <d...@gurumeditation.it>
> wrote:
> > 2013/5/29 Eduardo Lima (Etrunko) <ebl...@gmail.com>
> >
> >> I'm having trouble using edje_file_data_get(), it always returns NULL.
> >> I am especially interested on the data.file entry, and it can not be
> >> used inside a group block, so I assume it is to be declared at
> >> toplevel. See the attached example.
> >>
> >> Any clues? Thanks much!
> >>
> >
> > It's because your edc is too much minimal, your test works here using this
> > edc:
> >
> > data {
> >     item: "names_item"
> > "Calvin;Leoben;D'anna;Simon;Doral;Six;Daniel;Sharon;";
> >     file: "names_file" "names.txt";
> > }
> >
> > collections {
> >     group { name: "asd";
> >     }
> > }
> >
> > maybe edje_cc can be improved to check for this and alert the user.
> >
> 
> Ah, got it, so the collections section is mandatory. I guess it is not
> a problem with edje_cc but loading the file. If you dump the contents
> with eet -d it will show the data.
> 
> Thank you!

yeah - it's kind of a weird case.. an edje file without a single group in it...
kind of.. odd/not useful. well not useful for the original intend edje has
which is to store groups. the file data is just along for the ride.

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


------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to