summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_object.eo
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-27 13:17:37 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-02-27 13:17:37 -0500
commita5e183ad5d1c4495c2149341b4a6e7c086b26e00 (patch)
treea685b7a95590e8f4167caee9a13e312cdd1c3f6e /src/lib/evas/canvas/efl_canvas_object.eo
parent540d3b95874e1ebdcbd6ccf9eaf1cab0af30f833 (diff)
efl.canvas.object: clip -> clipper && clipees -> clipped_objects
Summary: also clipees_has -> clipped_objects_count ref T7555 Depends on D8039 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7555 Differential Revision: https://phab.enlightenment.org/D8040
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_object.eo')
-rw-r--r--src/lib/evas/canvas/efl_canvas_object.eo19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_object.eo b/src/lib/evas/canvas/efl_canvas_object.eo
index e97c019..0390f92 100644
--- a/src/lib/evas/canvas/efl_canvas_object.eo
+++ b/src/lib/evas/canvas/efl_canvas_object.eo
@@ -86,7 +86,7 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
86 render_op: Efl.Gfx.Render_Op; [[Blend or copy.]] 86 render_op: Efl.Gfx.Render_Op; [[Blend or copy.]]
87 } 87 }
88 } 88 }
89 @property clip { 89 @property clipper {
90 set { 90 set {
91 [[Clip one object to another. 91 [[Clip one object to another.
92 92
@@ -128,6 +128,7 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
128 Note: Only rectangle and image (masks) objects can be used 128 Note: Only rectangle and image (masks) objects can be used
129 as clippers. Anything else will result in undefined behaviour. 129 as clippers. Anything else will result in undefined behaviour.
130 ]] 130 ]]
131 legacy: evas_object_clip_set;
131 } 132 }
132 get { 133 get {
133 [[Get the object clipping $obj (if any). 134 [[Get the object clipping $obj (if any).
@@ -136,9 +137,10 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
136 not being clipped at all, $null is returned. The object $obj 137 not being clipped at all, $null is returned. The object $obj
137 must be a valid Evas_Object. 138 must be a valid Evas_Object.
138 ]] 139 ]]
140 legacy: evas_object_clip_get;
139 } 141 }
140 values { 142 values {
141 clip: Efl.Canvas.Object @nonull; [[The object to clip $obj by.]] 143 clipper: Efl.Canvas.Object @nonull; [[The object to clip $obj by.]]
142 } 144 }
143 } 145 }
144 @property repeat_events { 146 @property repeat_events {
@@ -348,7 +350,7 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
348 $false otherwise.]] 350 $false otherwise.]]
349 } 351 }
350 } 352 }
351 @property clipees { 353 @property clipped_objects {
352 get { 354 get {
353 [[Return a list of objects currently clipped by $obj. 355 [[Return a list of objects currently clipped by $obj.
354 356
@@ -363,7 +365,7 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
363 anymore after that point. Any use of the list after this 365 anymore after that point. Any use of the list after this
364 may have undefined results, possibly leading to crashes. 366 may have undefined results, possibly leading to crashes.
365 367
366 See also @.clip. 368 See also @.clipper.
367 ]] 369 ]]
368 legacy: null; 370 legacy: null;
369 return: iterator<Efl.Canvas.Object> @warn_unused; [[An iterator over the 371 return: iterator<Efl.Canvas.Object> @warn_unused; [[An iterator over the
@@ -396,12 +398,11 @@ abstract @beta Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.En
396 dir: Efl.Text_Bidirectional_Type; [[Paragraph direction for the given object.]] 398 dir: Efl.Text_Bidirectional_Type; [[Paragraph direction for the given object.]]
397 } 399 }
398 } 400 }
399 clipees_has @const { 401 clipped_objects_count @const {
400 [[Test if any object is clipped by $obj. 402 [[Returns the number of objects clipped by $obj
401
402 @since 1.8
403 ]] 403 ]]
404 return: bool @warn_unused; [[$true if any object is clipped by $obj, $false otherwise]] 404 legacy: null;
405 return: uint @warn_unused; [[The number of objects clipped by $obj]]
405 } 406 }
406 key_grab { 407 key_grab {
407 /* FIXME: can't reference Eolian object, .eo file not being installed */ 408 /* FIXME: can't reference Eolian object, .eo file not being installed */