2018-04-22 23:13:59 -07:00
|
|
|
|
2019-05-29 23:07:42 -07:00
|
|
|
class @beta Efl.Ui.List_Placeholder_Item extends Efl.Ui.List_Item implements Efl.Content
|
2018-04-22 23:13:59 -07:00
|
|
|
{
|
2019-05-29 23:07:42 -07:00
|
|
|
[[List Placeholder Item class. This item have only one swallow space,
|
2018-04-22 23:13:59 -07:00
|
|
|
thus user can decorate item by filling the swallow with
|
|
|
|
any kind of container.]]
|
|
|
|
data: null;
|
efl_ui : refactoring efl.part in item based classes.
Summary:
Most of item-based class will have similar efl.part such as text, icon, end.
creating this efl part per each class will be very hard to maintaining the class
and unnecessary eo generation.
so combine them in efl.parts of efl_ui_item.
sub item classes can use this efl.part by declairing ther own eo definition.
Reviewers: cedric, Jaehyun_Cho, segfaultxavi, eagleeye
Reviewed By: cedric, eagleeye
Subscribers: herb, woohyun, q66, lauromoura, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8582
2019-05-29 21:22:03 -07:00
|
|
|
parts {
|
2019-05-29 23:07:42 -07:00
|
|
|
content: Efl.Ui.Item_Part_Content; [[the content part for list placeholder item.
|
efl_ui : refactoring efl.part in item based classes.
Summary:
Most of item-based class will have similar efl.part such as text, icon, end.
creating this efl part per each class will be very hard to maintaining the class
and unnecessary eo generation.
so combine them in efl.parts of efl_ui_item.
sub item classes can use this efl.part by declairing ther own eo definition.
Reviewers: cedric, Jaehyun_Cho, segfaultxavi, eagleeye
Reviewed By: cedric, eagleeye
Subscribers: herb, woohyun, q66, lauromoura, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8582
2019-05-29 21:22:03 -07:00
|
|
|
the content part is empty slot for user customizing.
|
|
|
|
fill the place with container widget such as layout, box, table.]]
|
|
|
|
}
|
2018-04-22 23:13:59 -07:00
|
|
|
implements {
|
|
|
|
//Efl.Object
|
|
|
|
Efl.Object.finalize;
|
|
|
|
Efl.Object.destructor;
|
|
|
|
Efl.Content.content { get; set; }
|
|
|
|
Efl.Content.content_unset;
|
2018-05-03 16:34:17 -07:00
|
|
|
Efl.Part.part_get;
|
2018-04-22 23:13:59 -07:00
|
|
|
}
|
|
|
|
}
|