diff options
author | Jee-Yong Um <jc9.um@samsung.com> | 2016-04-22 15:17:01 -0700 |
---|---|---|
committer | Cedric Bail <cedric@osg.samsung.com> | 2016-04-22 15:17:05 -0700 |
commit | 076037bd55a9d9f4ffe66200f2f30e264e32eb10 (patch) | |
tree | c833cf5b0979a58910b41e1d8929e88ce3d319b1 | |
parent | 1aaeaf2b3b4a08480694475217883855f298ab89 (diff) | |
download | efl-076037bd55a9d9f4ffe66200f2f30e264e32eb10.tar.gz |
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 <cedric@osg.samsung.com>
-rw-r--r-- | src/lib/edje/edje_object.eo | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo index 305684c3c7..5e5cf5bea2 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 { |