summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_access_component.eo
blob: c6f6964eea68e12815ae95ef44617b1ce7fd447b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
import eina_types;

mixin Efl.Access.Component ()
{
   [[AT-SPI component mixin]]
   data: null;
   methods {
      @property size @protected @beta {
         [[Size of accessible widget.]]
         set {
            return: bool; [[$true if size was set, $false otherwise]]
         }
         get {
         }
         values {
            w: int; [[Width of the widget]]
            h: int; [[Height of the widget]]
         }
      }
      @property layer @protected @beta {
         [[Evas layer of accessible widget.]]
         get {
         }
         values {
            layer: int; [[Evas layer of the widget]]
         }
      }
      @property alpha @protected @beta {
         [[Gets alpha of accessible widget.]]
         get {
         }
         values {
            alpha: double; [[Alpha value in [0, 1] range.]]
         }
      }
      @property z_order @protected @beta {
         [[Gets the depth at which the component is shown in relation to other
           components in the same container.]]
         get {
         }
         values {
            z_order: int; [[Z order of component]]
         }
      }
      @property extents @protected @beta {
         [[Geometry of accessible widget.]]
         get {
         }
         set {
            return: bool; [[$true if geometry was set, $false otherwise]]
         }
         keys {
            screen_coords: bool; [[If $true x and y values will be relative to
                                   screen origin, otherwise relative to canvas]]
         }
         values {
            rect: Eina.Rect; [[The geometry.]]
         }
      }
      @property position @protected @beta {
         [[Position of accessible widget.]]
         set {
            return: bool; [[$true if position was set, $false otherwise]]
         }
         get {
         }
         keys {
            screen_coords: bool; [[If $true x and y values will be relative to
                                   screen origin, otherwise relative to canvas]]
         }
         values {
            x: int; [[X coordinate]]
            y: int; [[Y coordinate]]
         }
      }
      contains @protected @beta {
      	 [[Contains accessible widget]]
         params {
            screen_coords: bool; [[If $true x and y values will be relative to
                                   screen origin, otherwise relative to canvas]]
            @in x: int; [[X coordinate]]
            @in y: int; [[Y coordinate]]
         }
         return: bool; [[$true if params have been set, $false otherwise]]
      }
      focus_grab @protected @beta {
         [[Focuses accessible widget.]]

         return: bool; [[$true if focus grab focus succeed, $false otherwise.]]

      }
      accessible_at_point_get @protected @beta {
         [[Gets top component object occupying space at given coordinates.]]
         params {
            screen_coords: bool; [[If $true x and y values will be relative to
                                   screen origin, otherwise relative to canvas]]
            @in x: int; [[X coordinate]]
            @in y: int; [[Y coordinate]]
         }
         return: Efl.Object; [[Top component object at given coordinate]]
      }
   }
}