cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=076037bd55a9d9f4ffe66200f2f30e264e32eb10
commit 076037bd55a9d9f4ffe66200f2f30e264e32eb10 Author: Jee-Yong Um <jc9...@samsung.com> Date: Fri Apr 22 15:17:01 2016 -0700 edje: add note to the reference of .part_object_get() Summary: For EDJE_RP_TYPE_SWALLOW objects (like GROUP, SWALLOW, EXTERNAL), edje_object_part_object_get() will return NULL or transparent rectangle. The note is added to have developers use edje_object_part_swallow_get() in that case. Reviewers: jpeg, Hermet, cedric Reviewed By: cedric Subscribers: Hermet Differential Revision: https://phab.enlightenment.org/D3859 Signed-off-by: Cedric Bail <ced...@osg.samsung.com> --- src/lib/edje/edje_object.eo | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo index 305684c..5e5cf5b 100644 --- a/src/lib/edje/edje_object.eo +++ b/src/lib/edje/edje_object.eo @@ -1202,7 +1202,11 @@ class Edje.Object (Evas.Smart_Clipped, Efl.File) because it's meant to be managed by Edje, solely. You are safe to query information about its current state (with evas_object_visible_get() or \@ref evas_object_color_get() for - example), though.]] + example), though. + + Note: If the type of Edje part is GROUP, SWALLOW or EXTERNAL, + returned handle by this function will indicate nothing or transparent + rectangle for events. Use @.part_swallow_get() in that case.]] return: const(Evas.Object)*; [[A pointer to the Evas object implementing the given part, or $null on failure (e.g. the given part doesn't exist)]] params { --