path: root/src/lib/elementary/elm_naviframe_part.eo
diff options
authorJean-Philippe Andre <>2017-09-13 13:29:25 +0900
committerJean-Philippe Andre <>2017-09-13 13:53:49 +0900
commitd5a31f3f307cb59f92bb24b42def504b3cb5e052 (patch)
tree38c21c157b406f7ce984df69205d56df4f9914de /src/lib/elementary/elm_naviframe_part.eo
parent8da23c4247bc29b5297157ed4064ab7b76100fb6 (diff)
edje/elm: Rename _internal_ to _part_ (EO)
In Edje and Elementary, we have part objects, which are what is returned by the interface efl_part(). Those objects can't be of an opaque type as this doesn't work nicely with strongly typed languages such as C++ or C#. In JS, Lua, C the types are weak and mostly runtime-based so it doesn't matter much. As a consequence, the documentation and the types need to look nice in this EO API. Thus, we remove the abusive term "internal" and explicitly call all those classes "part" something. Eventually we want the types to be declared in the EO file so bindings (C#, C++, ...) can generate the proper access methods, returning the best possible types. Note that right now a few of those part types are used in the legacy API but don't actually need to be exposed externally. This is kind of a mega commit that does all the renaming at once, but it's really just a big sed operation. The power of good IDEs :) Ref T5315 Ref T5306
Diffstat (limited to 'src/lib/elementary/elm_naviframe_part.eo')
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_naviframe_part.eo b/src/lib/elementary/elm_naviframe_part.eo
new file mode 100644
index 0000000..de62c47
--- /dev/null
+++ b/src/lib/elementary/elm_naviframe_part.eo
@@ -0,0 +1,10 @@
1class Elm.Naviframe.Part (Efl.Ui.Layout.Part)
3 [[Elementary naviframe internal part class]]
4 data: null;
5 implements {
6 Efl.Container.content { get; set; }
7 Efl.Container.content_unset;
8 Efl.Text.text { set; get; }
9 }