summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_input_event.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-11-29 20:03:16 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-30 10:48:24 +0900
commitbd5b76508b0b3bdc5d92f5f7db9741c100d47d3c (patch)
tree2e16d88bf93fde807e8b06e0bfe1c9e0f518adbd /src/lib/evas/canvas/efl_input_event.eo
parent8803040484721c15e5a7f48f4373b38d41d9d42e (diff)
efl: Introduce interface Efl.Dup
A few classes allow their objects to be duplicated, so they should all use the same interface. Also, rename VG's dup to copy_from as it's not conforming to the definition of dup.
Diffstat (limited to 'src/lib/evas/canvas/efl_input_event.eo')
-rw-r--r--src/lib/evas/canvas/efl_input_event.eo13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/evas/canvas/efl_input_event.eo b/src/lib/evas/canvas/efl_input_event.eo
index b90f918..45bd937 100644
--- a/src/lib/evas/canvas/efl_input_event.eo
+++ b/src/lib/evas/canvas/efl_input_event.eo
@@ -1,6 +1,6 @@
1import efl_input_types; 1import efl_input_types;
2 2
3mixin Efl.Input.Event (Efl.Interface, Efl.Object) 3mixin Efl.Input.Event (Efl.Interface, Efl.Object, Efl.Dup)
4{ 4{
5 [[Represents a generic event data. 5 [[Represents a generic event data.
6 6
@@ -30,17 +30,6 @@ mixin Efl.Input.Event (Efl.Interface, Efl.Object)
30 reset @pure_virtual { 30 reset @pure_virtual {
31 [[Resets the internal data to 0 or default values.]] 31 [[Resets the internal data to 0 or default values.]]
32 } 32 }
33 dup @pure_virtual {
34 [[Creates a copy of this event.
35
36 The returned event object is similar to the given object in most
37 ways except that @.fake will be $true.
38
39 Note: A reference is given to the caller. In order to avoid leaks
40 the C API users should call $efl_unref() after use.
41 ]]
42 return: Efl.Input.Event @owned; [[Event copy, marked as @.fake.]]
43 }
44 @property device @pure_virtual { 33 @property device @pure_virtual {
45 [[Input device that originated this event.]] 34 [[Input device that originated this event.]]
46 values { 35 values {