forked from enlightenment/efl
docs: Clarify behavior of NULL in Efl.Pack_Linear.
Summary: Depends on D10023 Reviewers: zmike, bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8210 Differential Revision: https://phab.enlightenment.org/D10024
This commit is contained in:
parent
e65ebc61fa
commit
b5e5117992
|
@ -36,29 +36,35 @@ interface Efl.Pack_Linear extends Efl.Pack
|
||||||
return: bool; [[$false if $subobj could not be packed.]]
|
return: bool; [[$false if $subobj could not be packed.]]
|
||||||
}
|
}
|
||||||
pack_before {
|
pack_before {
|
||||||
[[Prepend an object before an existing sub-object.
|
[[Prepend an object before the $existing sub-object.
|
||||||
|
|
||||||
When this container is deleted, it will request deletion of the
|
When this container is deleted, it will request deletion of the
|
||||||
given $subobj. Use @Efl.Pack.unpack to remove $subobj from this
|
given $subobj. Use @Efl.Pack.unpack to remove $subobj from this
|
||||||
container without deleting it.
|
container without deleting it.
|
||||||
|
|
||||||
|
If $existing is $NULL this method behaves like @.pack_begin.
|
||||||
]]
|
]]
|
||||||
params {
|
params {
|
||||||
@in subobj: Efl.Gfx.Entity; [[Object to pack before $existing.]]
|
@in subobj: Efl.Gfx.Entity; [[Object to pack before $existing.]]
|
||||||
@in existing: const(Efl.Gfx.Entity); [[Existing reference sub-object.]]
|
@in existing: const(Efl.Gfx.Entity); [[Existing reference sub-object. Must already belong to the container
|
||||||
|
or be $NULL.]]
|
||||||
}
|
}
|
||||||
return: bool; [[$false if $existing could not be found or $subobj
|
return: bool; [[$false if $existing could not be found or $subobj
|
||||||
could not be packed.]]
|
could not be packed.]]
|
||||||
}
|
}
|
||||||
pack_after {
|
pack_after {
|
||||||
[[Append an object after an existing sub-object.
|
[[Append an object after the $existing sub-object.
|
||||||
|
|
||||||
When this container is deleted, it will request deletion of the
|
When this container is deleted, it will request deletion of the
|
||||||
given $subobj. Use @Efl.Pack.unpack to remove $subobj from this
|
given $subobj. Use @Efl.Pack.unpack to remove $subobj from this
|
||||||
container without deleting it.
|
container without deleting it.
|
||||||
|
|
||||||
|
If $existing is $NULL this method behaves like @.pack_end.
|
||||||
]]
|
]]
|
||||||
params {
|
params {
|
||||||
@in subobj: Efl.Gfx.Entity; [[Object to pack after $existing.]]
|
@in subobj: Efl.Gfx.Entity; [[Object to pack after $existing.]]
|
||||||
@in existing: const(Efl.Gfx.Entity); [[Existing reference sub-object.]]
|
@in existing: const(Efl.Gfx.Entity); [[Existing reference sub-object. Must already belong to the container
|
||||||
|
or be $NULL.]]
|
||||||
}
|
}
|
||||||
return: bool; [[$false if $existing could not be found or $subobj
|
return: bool; [[$false if $existing could not be found or $subobj
|
||||||
could not be packed.]]
|
could not be packed.]]
|
||||||
|
|
Loading…
Reference in New Issue