summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_canvas3d_node.eo
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-12 14:29:20 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-12 16:47:41 -0500
commit27ae060633fdc5d950410492fec14806e2d4b9f3 (patch)
tree6ae5220dc8c9f881f668efc5daba1c49b0e3cedc /src/lib/evas/canvas/evas_canvas3d_node.eo
parent87d741052b51e081faf0d8a9cf5cdd765adf262c (diff)
evas3d: use a type setter function with finalize instead of a custom constructor
resolves a conflict with the 'constructor' method name
Diffstat (limited to 'src/lib/evas/canvas/evas_canvas3d_node.eo')
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_node.eo24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/evas/canvas/evas_canvas3d_node.eo b/src/lib/evas/canvas/evas_canvas3d_node.eo
index ca4e155..98f2748 100644
--- a/src/lib/evas/canvas/evas_canvas3d_node.eo
+++ b/src/lib/evas/canvas/evas_canvas3d_node.eo
@@ -5,18 +5,19 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object)
5 [[Evas 3D canvas node class]] 5 [[Evas 3D canvas node class]]
6 data: Evas_Canvas3D_Node_Data; 6 data: Evas_Canvas3D_Node_Data;
7 methods { 7 methods {
8 constructor { 8 @property node_type {
9 [[Constructor.]]
10 legacy: null;
11 params {
12 @in type: Evas.Canvas3D.Node_Type; [[Node type]]
13 }
14 }
15 type_get @const {
16 [[Get the type of the given node. 9 [[Get the type of the given node.
17 10
18 See also @Evas.Canvas3D.Node.member_add.]] 11 See also @Evas.Canvas3D.Node.member_add.]]
19 return: Evas.Canvas3D.Node_Type ; [[The type of the given node.]] 12 set {
13 [[Type can only be set before finalize.]]
14 }
15 get {
16 [[If the object is not node object, returns $unknown.]]
17 }
18 values {
19 type: Evas.Canvas3D.Node_Type(Evas.Canvas3D.Node_Type.unknown); [[Node type]]
20 }
20 } 21 }
21 member_add { 22 member_add {
22 [[Add a member node to the given node. 23 [[Add a member node to the given node.
@@ -383,13 +384,12 @@ class Evas.Canvas3D.Node (Evas.Canvas3D.Object)
383 } 384 }
384 } 385 }
385 implements { 386 implements {
387 Efl.Object.constructor;
386 Efl.Object.destructor; 388 Efl.Object.destructor;
389 Efl.Object.finalize;
387 Evas.Canvas3D.Object.update_notify; 390 Evas.Canvas3D.Object.update_notify;
388 Evas.Canvas3D.Object.change_notify; 391 Evas.Canvas3D.Object.change_notify;
389 Evas.Canvas3D.Object.callback_register; 392 Evas.Canvas3D.Object.callback_register;
390 Evas.Canvas3D.Object.callback_unregister; 393 Evas.Canvas3D.Object.callback_unregister;
391 } 394 }
392 constructors {
393 .constructor;
394 }
395} 395}