summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_list_view_model.eo
diff options
context:
space:
mode:
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>2018-11-05 14:27:05 +0900
committerHermet Park <hermetpark@gmail.com>2018-11-05 14:27:05 +0900
commite97b6b72bebfc91f44c4ab98f3ff1b7920344c07 (patch)
tree9e1d059c319b9208114b05df5356961d81ff06a0 /src/lib/elementary/efl_ui_list_view_model.eo
parentc4e0d3f69d8203ad3ff4f3fdeb0a0adfaffdd1cd (diff)
efl_ui : change efl_ui_view_list to efl_ui_list_view.
Summary: View is not a namespace, but an interface, So, View_List cannot be under the view namespace for now. it looks more suite to be end as View than List on this widget name. Firstly, it follows our common naming rules of class. Also, List_View is commonly presentable name on most UI frameworks, so it is very easy to understand what this widget can do for the user. Test Plan: Make works. Example is not works for now til stable model interface. Reviewers: felipealmeida, woohyun, cedric, Hermet Reviewed By: Hermet Subscribers: larryolj, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7234
Diffstat (limited to 'src/lib/elementary/efl_ui_list_view_model.eo')
-rw-r--r--src/lib/elementary/efl_ui_list_view_model.eo48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_list_view_model.eo b/src/lib/elementary/efl_ui_list_view_model.eo
new file mode 100644
index 0000000..12a289a
--- /dev/null
+++ b/src/lib/elementary/efl_ui_list_view_model.eo
@@ -0,0 +1,48 @@
1import efl_ui_list_view_types;
2
3interface Efl.Ui.List_View_Model (Efl.Interface)
4{
5 methods {
6 @property load_range {
7 set {}
8 values {
9 first: int;
10 count: int;
11 }
12 }
13 realize {
14 params {
15 item: ptr(Efl.Ui.List_View_Layout_Item);
16 }
17 return: ptr(Efl.Ui.List_View_Layout_Item);
18 }
19 unrealize {
20 params {
21 item: ptr(Efl.Ui.List_View_Layout_Item);
22 }
23 }
24 // @property visible_range {
25 // set {}
26 // values {
27 // first: int;
28 // count: int;
29 // }
30 // }
31 @property model_size {
32 get {}
33 values {
34 s: int;
35 }
36 }
37 @property min_size {
38 [[Minimal content size.]]
39 set {}
40 get {}
41 values {
42 min: Eina.Size2D;
43 }
44 }
45
46
47 }
48}