summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_object.eo
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-09-20 11:38:18 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-09-20 11:55:55 -0300
commit61ce4c79fd004948f922e928b84765b6f26657a9 (patch)
tree36933d787097994dceda1964f3ca76cc95b9b282 /src/lib/evas/canvas/efl_canvas_object.eo
parent32f92d3d869f889d729314574bf4e3b5c14a3e29 (diff)
Use proper Eolian syntax for default values instead of docs
Summary: Eolian supports reporting the defaults for parameters and return values, but in some places we have been writing this information in the documentation instead. This patch moves it to its proper place, where documentation generators can pick it up and render it in a consistent manner. Ref T8171 Reviewers: zmike, bu5hm4n, lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8171 Differential Revision: https://phab.enlightenment.org/D10051
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_object.eo')
-rw-r--r--src/lib/evas/canvas/efl_canvas_object.eo11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_object.eo b/src/lib/evas/canvas/efl_canvas_object.eo
index 509066c..ab51da1 100644
--- a/src/lib/evas/canvas/efl_canvas_object.eo
+++ b/src/lib/evas/canvas/efl_canvas_object.eo
@@ -47,7 +47,6 @@ abstract Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.Entity,
47 If the value is @Efl.Input.Object_Pointer_Mode.no_grab, then events 47 If the value is @Efl.Input.Object_Pointer_Mode.no_grab, then events
48 will be emitted just when inside this object area. 48 will be emitted just when inside this object area.
49 49
50 The default value is @Efl.Input.Object_Pointer_Mode.auto_grab.
51 See also: @.pointer_mode_by_device.get and @.pointer_mode_by_device.set 50 See also: @.pointer_mode_by_device.get and @.pointer_mode_by_device.set
52 Note: This function will only set/get the mode for the default pointer. 51 Note: This function will only set/get the mode for the default pointer.
53 ]] 52 ]]
@@ -57,7 +56,7 @@ abstract Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.Entity,
57 return: bool; [[$true if pointer behaviour was set, $false otherwise]] 56 return: bool; [[$true if pointer behaviour was set, $false otherwise]]
58 } 57 }
59 values { 58 values {
60 pointer_mode: Efl.Input.Object_Pointer_Mode; [[Input pointer mode]] 59 pointer_mode: Efl.Input.Object_Pointer_Mode(Efl.Input.Object_Pointer_Mode.auto_grab); [[Input pointer mode]]
61 } 60 }
62 } 61 }
63 @property render_op { 62 @property render_op {
@@ -265,8 +264,7 @@ abstract Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.Entity,
265 get { 264 get {
266 } 265 }
267 values { 266 values {
268 precise: bool; [[Whether to use precise point collision 267 precise: bool(false); [[Whether to use precise point collision detection.]]
269 detection or not. The default value is false.]]
270 } 268 }
271 } 269 }
272 @property propagate_events { 270 @property propagate_events {
@@ -280,7 +278,7 @@ abstract Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.Entity,
280 propagated on to the smart object of which $obj is a member. 278 propagated on to the smart object of which $obj is a member.
281 If $prop is $false, events occurring on this object will not 279 If $prop is $false, events occurring on this object will not
282 be propagated on to the smart object of which $obj is a 280 be propagated on to the smart object of which $obj is a
283 member. The default value is $true. 281 member.
284 282
285 See also @.repeat_events.set, @.pass_events.set. 283 See also @.repeat_events.set, @.pass_events.set.
286 ]] 284 ]]
@@ -289,8 +287,7 @@ abstract Efl.Canvas.Object extends Efl.Loop_Consumer implements Efl.Gfx.Entity,
289 get { 287 get {
290 } 288 }
291 values { 289 values {
292 propagate: bool; [[Whether to propagate events ($true) or not 290 propagate: bool(true); [[Whether to propagate events.]]
293 ($false).]]
294 } 291 }
295 } 292 }
296 @property pass_events { 293 @property pass_events {