summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_layout.eo
diff options
context:
space:
mode:
authorLarry Jr <larry.olj@gmail.com>2017-01-31 18:17:58 -0200
committerCedric BAIL <cedric@osg.samsung.com>2017-02-06 15:26:21 -0800
commit093c5921888dd4810233c6ba3e97479758e2589c (patch)
treecea9d80b886a1e48f994f987535c209edcb704d9 /src/lib/elementary/elm_layout.eo
parentde83cc77d3a8864ed3cf367a860a6573ceabe8d7 (diff)
efl: add efl_model and efl_ui_view classes
Efl.Model.Container and Efl.Model.Item to efl/interfaces are used to create Efl.Model objects with predefined property values. This is useful to any situation where we want an Efl.Model with explicit defined property values. Efl.Ui.View and Efl.Ui.Factory are used to connect Efl.Models with Widgets, Elm.Layout and Efl.Ui.Image has changed to use news interfaces Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/elementary/elm_layout.eo')
-rw-r--r--src/lib/elementary/elm_layout.eo6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_layout.eo b/src/lib/elementary/elm_layout.eo
index 37f1ad17a9..802f567050 100644
--- a/src/lib/elementary/elm_layout.eo
+++ b/src/lib/elementary/elm_layout.eo
@@ -17,7 +17,8 @@ struct Elm.Layout_Part_Alias_Description
17 real_part: string; [[Target part name for the alias set on Elm.Layout_Part_Proxies_Description::real_part. An example of usage would be "default" on that field, with "elm.content.swallow" on this one]] 17 real_part: string; [[Target part name for the alias set on Elm.Layout_Part_Proxies_Description::real_part. An example of usage would be "default" on that field, with "elm.content.swallow" on this one]]
18} 18}
19 19
20class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File) 20class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File,
21 Efl.Ui.View, Efl.Ui.Model.Connect, Efl.Ui.Model.Factory.Connect)
21{ 22{
22 [[Elementary layout class]] 23 [[Elementary layout class]]
23 legacy_prefix: elm_layout; 24 legacy_prefix: elm_layout;
@@ -355,6 +356,9 @@ class Elm.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File)
355 Efl.Container.content { get; set; } 356 Efl.Container.content { get; set; }
356 Efl.Container.content_unset; 357 Efl.Container.content_unset;
357 Efl.Part.part; 358 Efl.Part.part;
359 Efl.Ui.View.model { get; set; }
360 Efl.Ui.Model.Connect.connect;
361 Efl.Ui.Model.Factory.Connect.connect;
358 } 362 }
359 events { 363 events {
360 theme,changed; [[Called when theme changed]] 364 theme,changed; [[Called when theme changed]]