forked from enlightenment/efl
docs: Update edje eo files for grammar and readability
Author: Nate Drake
This commit is contained in:
parent
961743475c
commit
f0d6a60cf8
|
@ -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 {
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue