----- "andres" <[EMAIL PROTECTED]> ha scritto:

> Hey, I want to check if a given part's type is SWALLOW before using it
> to swallow an object. 

Why you need to do this check? edje_object_part_swallow do it for you ;)

> 
> I couldn't find a way to do it without using Edje_Edit.h. Sice this is
> for the 
> Edje book I wouldn't want  to encourage Edje_Edit for regular
> application 
> development. Or is promoting the usage of Edje_Edit in applications a
> good 
> idea?

no, no, no, it's not a good idea.

> 
> My approach was to add a new function to Edje that return the part
> type as an 
> unsigned char (like Edje_Edit does) and to move the macros
> EDJE_PART_TYPE_* 
> from edje_private.h to Edje.h .

This is ok for me

> 
> I attached a patch showing the changes.
> Thanks and good bye.

The patch is good and simple ... if we really need it  :)

Bye
Dave


> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save
> $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to