언어 설정

Menu
Sites
Language
Where can I find the whole definition for swallow parts?

I find the picture for genlist of its swallow parts:

I also find there are other swallow parts for widget, they are  elm.swallow.icon, elm.swallow.content and elm.swallow.end.

And I also see some usage of elm.swallow.bg, elm.swallow.background, elm.swallow.left and elm.swallow.indicator_bg.

But I really puzzeled if there is any other swallow parts definitions? Where can I find them all?

Can anybody show me the definitions for swallow parts in the Tizen source code?

      

Responses

11 댓글
colin Rao

Hi,

You can try to find it from the IDE help doc, if it not exists, seems the only way is to check it's source code.

Jeongsu Kim

You can see swallow parts from below link.

https://developer.tizen.org/development/guides/native-application/ui-framework/ui-components/mobile-native/elementary/ui-component-styles

Swallow part means any Evas_Object can be there. I think it will be noticed if it is important for developer. If it is only for special purpose (like internal use only) it will not be documented.

I think it's better to see EDJE from below link

https://developer.tizen.org/development/guides/native-application/ui-framework/edje

Jean Yang

I know these links, but it did not answered my question.

Anybody in Samsung can paste the source code here?

Alex Dem

Hi, just fyi regardin genlist:
https://developer.tizen.org/ko/forums/native-application-development/how-can-i-find-item_style-list
There is url to tizen 2.3 genlist edc files.
Alexey.

Jean Yang

Hi Alex, 

   I saw the link you mentioned before, it still not complete explain all swallow parts. 

   For the link and the links Jeongsu Kim mentioned, we can only find definition for elm.swallow.icon, elm.swallow.content and elm.swallow.end. 

   But my question is where we can find the others swallow parts, such as elm.swallow.bg, elm.swallow.background, elm.swallow.left and elm.swallow.indicator_bg?

   So I think the Samsung developer who can access the source code where define swallow parts can show us these definition in source codes. Who can help?

Jean Yang

I mean where can we find the pre-defined swallow parts by Edje library, anybody can show us the source?

colin Rao

Hi,

possible this link can help you.

https://review.tizen.org/git/?p=framework/uifw/efl-theme-tizen.git;a=tree;f=2.3-mobile/widgets;h=acb5242e7e445da1a6fc60f0c05a4842da649197;hb=refs/tags/tizen_2.3.1_release

Jean Yang

Thank you all!

I now can find all swallow parts defintion from the edc files at:

https://review.tizen.org/git/?p=framework/uifw/efl-theme-tizen.git;a=tree;f=2.3-mobile/widgets;hb=refs/heads/tizen_2.3.1

That's just the link Colin provided, thanks!

Br

Jean

Manos Theocharopoulos

So most of the styles are actually undocumented. Like the 2line.top.3 genlist style used in the Email sample.

Jeongsu Kim

That means these styles can be changed without any notification. So you have to avoid using these undocumented styles because it can be changed without any notification.

You have to make your own style or copy them to your app.

Jean Yang

But I do find those undocumented styles such as elm.swallow.indicator_bg for genlist are used in the Tizen sample.