2017-09-13 01:32:35 -07:00
|
|
|
import eina_types;
|
|
|
|
|
2018-02-14 18:14:52 -08:00
|
|
|
mixin Efl.Access.Component (Efl.Gfx, Efl.Gfx.Stack)
|
2014-03-19 04:26:12 -07:00
|
|
|
{
|
2016-11-04 02:31:24 -07:00
|
|
|
[[AT-SPI component mixin]]
|
2014-03-19 04:26:12 -07:00
|
|
|
data: null;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
2017-11-01 05:31:46 -07:00
|
|
|
@property z_order @protected @beta {
|
2016-06-30 08:31:56 -07:00
|
|
|
[[Gets the depth at which the component is shown in relation to other
|
|
|
|
components in the same container.]]
|
2014-03-19 04:26:12 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2016-10-21 07:41:31 -07:00
|
|
|
z_order: int; [[Z order of component]]
|
2014-03-19 04:26:12 -07:00
|
|
|
}
|
|
|
|
}
|
2017-11-01 05:31:46 -07:00
|
|
|
@property extents @protected @beta {
|
2016-06-30 08:31:56 -07:00
|
|
|
[[Geometry of accessible widget.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
set {
|
2016-10-21 07:41:31 -07:00
|
|
|
return: bool; [[$true if geometry was set, $false otherwise]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
keys {
|
2016-11-17 03:19:50 -08:00
|
|
|
screen_coords: bool; [[If $true x and y values will be relative to
|
2016-06-30 08:31:56 -07:00
|
|
|
screen origin, otherwise relative to canvas]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
values {
|
2017-09-13 19:59:44 -07:00
|
|
|
rect: Eina.Rect; [[The geometry.]]
|
2014-03-19 04:26:12 -07:00
|
|
|
}
|
|
|
|
}
|
2018-02-14 18:14:52 -08:00
|
|
|
@property screen_position @protected @beta {
|
2016-06-30 08:31:56 -07:00
|
|
|
[[Position of accessible widget.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
set {
|
2016-10-21 07:41:31 -07:00
|
|
|
return: bool; [[$true if position was set, $false otherwise]]
|
2014-04-20 20:46:11 -07:00
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2016-10-21 07:41:31 -07:00
|
|
|
x: int; [[X coordinate]]
|
|
|
|
y: int; [[Y coordinate]]
|
2014-03-19 04:26:12 -07:00
|
|
|
}
|
|
|
|
}
|
2017-11-01 05:31:46 -07:00
|
|
|
contains @protected @beta {
|
2018-02-12 09:56:31 -08:00
|
|
|
[[Contains accessible widget]]
|
2014-03-19 04:26:12 -07:00
|
|
|
params {
|
2016-11-17 03:19:50 -08:00
|
|
|
screen_coords: bool; [[If $true x and y values will be relative to
|
2016-06-30 08:31:56 -07:00
|
|
|
screen origin, otherwise relative to canvas]]
|
2016-10-21 07:41:31 -07:00
|
|
|
@in x: int; [[X coordinate]]
|
|
|
|
@in y: int; [[Y coordinate]]
|
2014-03-19 04:26:12 -07:00
|
|
|
}
|
2016-10-21 07:41:31 -07:00
|
|
|
return: bool; [[$true if params have been set, $false otherwise]]
|
2014-03-19 04:26:12 -07:00
|
|
|
}
|
2017-11-01 05:31:46 -07:00
|
|
|
focus_grab @protected @beta {
|
2015-08-07 06:28:13 -07:00
|
|
|
[[Focuses accessible widget.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
|
2016-06-30 08:31:56 -07:00
|
|
|
return: bool; [[$true if focus grab focus succeed, $false otherwise.]]
|
2014-04-20 20:46:11 -07:00
|
|
|
|
2014-03-19 04:26:12 -07:00
|
|
|
}
|
2017-11-01 05:31:46 -07:00
|
|
|
accessible_at_point_get @protected @beta {
|
2015-08-07 06:28:13 -07:00
|
|
|
[[Gets top component object occupying space at given coordinates.]]
|
2014-03-19 04:26:12 -07:00
|
|
|
params {
|
2016-06-30 08:31:56 -07:00
|
|
|
screen_coords: bool; [[If $true x and y values will be relative to
|
|
|
|
screen origin, otherwise relative to canvas]]
|
2016-10-21 07:41:31 -07:00
|
|
|
@in x: int; [[X coordinate]]
|
|
|
|
@in y: int; [[Y coordinate]]
|
2014-03-19 04:26:12 -07:00
|
|
|
}
|
2016-10-21 07:41:31 -07:00
|
|
|
return: Efl.Object; [[Top component object at given coordinate]]
|
2014-03-19 04:26:12 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|