summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_canvas_pointer.eo
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-12-06 14:34:51 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-12-08 20:13:31 +0900
commit80463f0e2ed6a951ab5449b987d18bb47daf23e8 (patch)
tree84b0b95d244d43da579810cdac5ea6276f8623d8 /src/lib/efl/interfaces/efl_canvas_pointer.eo
parentdc821546ad6e4b4c90be6854410e39038648b00d (diff)
interface: add Efl.Canvas.Pointer intf for pointer related functions.
and remove pointer_inside function from Efl.Canvas{}
Diffstat (limited to 'src/lib/efl/interfaces/efl_canvas_pointer.eo')
-rw-r--r--src/lib/efl/interfaces/efl_canvas_pointer.eo32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/efl/interfaces/efl_canvas_pointer.eo b/src/lib/efl/interfaces/efl_canvas_pointer.eo
new file mode 100644
index 0000000000..57111a7896
--- /dev/null
+++ b/src/lib/efl/interfaces/efl_canvas_pointer.eo
@@ -0,0 +1,32 @@
1import efl_input_device;
2
3interface Efl.Canvas.Pointer ()
4{
5 methods {
6 @property pointer_inside {
7 get {
8 [[Returns whether the mouse pointer is logically inside the
9 canvas.
10
11 When this function is called it will return a value of either
12 $false or $true, depending on whether a pointer,in or pointer,out
13 event has been called previously.
14
15 A return value of $true indicates the mouse is logically
16 inside the canvas, and $false implies it is logically
17 outside the canvas.
18
19 A canvas begins with the mouse being assumed outside ($false).
20 ]]
21 }
22 keys {
23 seat: Efl.Input.Device @optional; [[The seat to consider, if $null
24 then the default seat will be used.]]
25 }
26 values {
27 inside: bool; [[$true if the mouse pointer is inside the canvas,
28 $false otherwise]]
29 }
30 }
31 }
32}