From a302270b6c214a4565ab356778b82acdba97188b Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Fri, 22 Dec 2017 10:30:32 +0000 Subject: [PATCH] docs: Update edje eo files for grammar and readability Author: Nate Drake --- src/lib/edje/efl_canvas_layout_part_box.eo | 2 +- src/lib/edje/efl_canvas_layout_part_external.eo | 6 +++--- src/lib/edje/efl_canvas_layout_part_text.eo | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/edje/efl_canvas_layout_part_box.eo b/src/lib/edje/efl_canvas_layout_part_box.eo index 29a3565..7a189ae 100644 --- a/src/lib/edje/efl_canvas_layout_part_box.eo +++ b/src/lib/edje/efl_canvas_layout_part_box.eo @@ -4,7 +4,7 @@ class Efl.Canvas.Layout.Part_Box (Efl.Canvas.Layout.Part, Efl.Pack.Linear, [[Represents a Box created as part of a layout. Its lifetime is limited to one function call only, unless an extra - reference is explicitely held. + reference is explicitly held. ]] data: null; implements { diff --git a/src/lib/edje/efl_canvas_layout_part_external.eo b/src/lib/edje/efl_canvas_layout_part_external.eo index adeb225..cb485e4 100644 --- a/src/lib/edje/efl_canvas_layout_part_external.eo +++ b/src/lib/edje/efl_canvas_layout_part_external.eo @@ -6,13 +6,13 @@ class Efl.Canvas.Layout.Part_External (Efl.Canvas.Layout.Part, Efl.Content, [[Class representing an external part in Edje layouts. An object of this type is an Efl.Part object, which means its lifecycle - is limited to one and only one function call. + is limited to only one function call. An external part contains one object, which can be retrieved with @Efl.Content.content.get(). Do not delete this object. Just like for - other parts, Edje is in charge of the visibility, geometry, clip, etc... + other parts Edje is in charge of the visibility, geometry, clip, etc. - Common usage is then, in pseudo-C: + Common usage in pseudo-C would be as follows: Eo *widget = efl_content_get(efl_part(layout, "extpartname")); efl_text_set(widget, "hello"); diff --git a/src/lib/edje/efl_canvas_layout_part_text.eo b/src/lib/edje/efl_canvas_layout_part_text.eo index 7a2211e..0ba5bb2 100644 --- a/src/lib/edje/efl_canvas_layout_part_text.eo +++ b/src/lib/edje/efl_canvas_layout_part_text.eo @@ -4,7 +4,7 @@ Efl.Text.Markup, Efl.Text.Cursor) [[Represents a TEXT part of a layout Its lifetime is limited to one function call only, unless an extra - reference is explicitely held. + reference is explicitly held. ]] data: null; implements { -- 2.7.4