|
From: xupengxiang <xup...@gm...> - 2009-12-30 03:13:08
|
hi,
I just know you want to use elm_image_file_set
Finding it in SRC, you can find that
if (((p = strrchr(file, '.'))) && (!strcasecmp(p, ".edj")))
ret = _els_smart_icon_file_edje_set(wd->img, file, group);
else
ret = _els_smart_icon_file_key_set(wd->img, file, group);
I just know you want to use elm_image_file_set (**,*.edj,...)
then, we goto _els_smart_icon_file_edje_set
it just use edje_object_file_set
So ,you must make sure you edc file have a group with single parts IMAGE
you want to use. And then Use elm_image_file_set (**, *.edj, Group_name)
在 2009-12-30三的 10:34 +0800,zhangze写道:
> hi, all
> how to use the parameter const char *key in API
> evas_object_image_file_set (Evas_Object *obj, const char *file, const
> char *key)
> and the parameter const char *group in API
> elm_image_file_set ( Evas_Object *obj, const char *File, const char
> *group)
>
> I think these two things is the same, i know the char *file is eet file.
> thanks.
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> enlightenment-devel mailing list
> enl...@li...
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
|