efl/src/lib/elementary/efl_access_component.eo

105 lines
3.1 KiB
Plaintext
Raw Normal View History

mixin Efl.Access.Component ()
{
[[AT-SPI component mixin]]
data: null;
2015-05-07 09:32:53 -07:00
methods {
@property size @protected {
[[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]]
}
}
2015-05-07 09:32:53 -07:00
@property layer @protected {
[[Evas layer of accessible widget.]]
get {
}
values {
layer: int; [[Evas layer of the widget]]
}
}
2015-05-07 09:32:53 -07:00
@property alpha @protected {
[[Gets alpha of accessible widget.]]
get {
}
values {
alpha: double; [[Alpha value in [0, 1] range.]]
}
}
2015-05-07 09:32:53 -07:00
@property z_order @protected {
[[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]]
}
}
2015-05-07 09:32:53 -07:00
@property extents @protected {
[[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 {
x: int; [[X coordinate]]
y: int; [[Y coordinate]]
w: int; [[Width]]
h: int; [[Height]]
}
}
2015-05-07 09:32:53 -07:00
@property position @protected {
[[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]]
}
}
2014-07-22 08:36:29 -07:00
contains @protected {
[[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 {
[[Focuses accessible widget.]]
return: bool; [[$true if focus grab focus succeed, $false otherwise.]]
}
2014-07-22 08:36:29 -07:00
accessible_at_point_get @protected {
[[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]]
}
}
}