summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_canvas_pointer.eo
diff options
context:
space:
mode:
Diffstat (limited to '')
-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}