docs: atspi_interfaces: fill gaps in elm atspi interfaces eo file documentation

This commit is contained in:
Stefan Schmidt 2016-11-17 12:19:50 +01:00
parent 85ed25c682
commit 67f03b7d04
5 changed files with 38 additions and 31 deletions

View File

@ -340,8 +340,8 @@ mixin Elm.Interface.Atspi_Accessible (Efl.Interface, Efl.Object)
event_handler_add @class @protected {
[[Register accessibility event listener]]
params {
@in cb: Efl_Event_Cb; [[callback]]
@in data: void_ptr; [[data]]
@in cb: Efl_Event_Cb; [[Callback]]
@in data: void_ptr; [[Data]]
}
return: ptr(Elm.Atspi.Event.Handler); [[Event handler]]
}
@ -403,7 +403,7 @@ mixin Elm.Interface.Atspi_Accessible (Efl.Interface, Efl.Object)
appending, for example, relation ELM_ATSPI_RELATION_FLOWS_TO from object A to B,
do NOT append relation ELM_ATSPI_RELATION_FLOWS_FROM from object B to
object A.]]
return: bool; [[EINA_TRUE is relationship was successfully appended, EINA_FALSE otherwise]]
return: bool; [[$true if relationship was successfully appended, $false otherwise]]
params {
@in type: Elm.Atspi.Relation_Type; [[Relation type]]
@in relation_object: const(Elm.Interface.Atspi_Accessible); [[Object to relate to]]

View File

@ -31,7 +31,7 @@ mixin Elm.Interface.Atspi_Action ()
get {
}
set {
return: bool; [[EINA_TRUE if description was set, else EINA_FALSE]]
return: bool; [[$true if description was set, $false otherwise]]
}
values {
description: string; [[Action description]]
@ -53,7 +53,7 @@ mixin Elm.Interface.Atspi_Action ()
params {
@in id: int; [[ID for widget]]
}
return: bool; [[EINA_TRUE if action was performed, else EINA_FALSE]]
return: bool; [[$true if action was performed, $false otherwise]]
}
keybinding_get @protected @virtual_pure {
[[Gets configured keybinding for specific action and widget.]]

View File

@ -49,7 +49,7 @@ mixin Elm.Interface.Atspi_Component ()
return: bool; [[$true if geometry was set, $false otherwise]]
}
keys {
screen_coords: bool; [[If true x and y values will be relative to
screen_coords: bool; [[If $true x and y values will be relative to
screen origin, otherwise relative to canvas]]
}
values {
@ -67,7 +67,7 @@ mixin Elm.Interface.Atspi_Component ()
get {
}
keys {
screen_coords: bool; [[If true x and y values will be relative to
screen_coords: bool; [[If $true x and y values will be relative to
screen origin, otherwise relative to canvas]]
}
values {
@ -77,7 +77,7 @@ mixin Elm.Interface.Atspi_Component ()
}
contains @protected {
params {
screen_coords: bool; [[If true x and y values will be relative to
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]]

View File

@ -65,7 +65,7 @@ interface Elm.Interface.Atspi.Text ()
[[Gets string, start and end offset in text according to given initial offset and granularity.]]
}
keys {
granularity: Elm.Atspi_Text.Granularity;
granularity: Elm.Atspi_Text.Granularity; [[Text granularity]]
start_offset: ptr(int) @nonull; [[Offset indicating start of string according to given granularity. -1 in case of error.]]
end_offset: ptr(int); [[Offset indicating end of string according to given granularity. -1 in case of error.]]
}
@ -93,7 +93,7 @@ interface Elm.Interface.Atspi.Text ()
return: bool; [[$true if caret was successfully moved, $false otherwise.]]
}
values {
offset: int;
offset: int; [[Offset]]
}
}
@property attribute @protected {
@ -102,7 +102,7 @@ interface Elm.Interface.Atspi.Text ()
return: bool; [[$true if attribute name is set, $false otherwise]]
}
keys {
name: string @nonull; [[text attribute name]]
name: string @nonull; [[Text attribute name]]
start_offset: ptr(int) @nonull; [[Position in text from which given attribute is set.]]
end_offset: ptr(int); [[Position in text to which given attribute is set.]]
}
@ -115,75 +115,81 @@ interface Elm.Interface.Atspi.Text ()
[[Gets list of all text attributes.]]
}
keys {
start_offset: ptr(int) @nonull;
end_offset: ptr(int);
start_offset: ptr(int) @nonull; [[Start offset]]
end_offset: ptr(int); [[End offset]]
}
values {
attributes: own(list<own(ptr(Elm.Atspi_Text.Attribute))>);
attributes: own(list<own(ptr(Elm.Atspi_Text.Attribute))>); [[List of text attributes]]
}
}
@property default_attributes @protected {
[[Default attributes]]
get {
}
values {
attributes: own(list<own(ptr(Elm.Atspi_Text.Attribute))>);
attributes: own(list<own(ptr(Elm.Atspi_Text.Attribute))>); [[List of default attributes]]
}
}
@property character_extents @protected {
[[Character extents]]
get {
return: bool; [[$true if character extents, $false otherwise]]
}
keys {
offset: int;
screen_coords: bool;
offset: int; [[Offset]]
screen_coords: bool; [[If $true, x and y values will be relative to screen origin, otherwise relative to canvas]]
}
values {
rect: Eina.Rectangle;
rect: Eina.Rectangle; [[Extents rectangle]]
}
}
@property character_count @protected {
[[Character count]]
get {
}
values {
count: int;
count: int; [[Character count]]
}
}
@property offset_at_point @protected {
[[Offset at given point]]
get {
}
keys {
screen_coords: bool;
x: int;
y: int;
screen_coords: bool; [[If $true, x and y values will be relative to screen origin, otherwise relative to canvas]]
x: int; [[X coordinate]]
y: int; [[Y coordinate]]
}
values {
offset: int;
offset: int; [[Offset]]
}
}
@property bounded_ranges @protected {
[[Bounded ranges]]
get {
}
keys {
screen_coords: bool;
rect: Eina.Rectangle;
xclip: Elm.Atspi_Text.Clip_Type;
yclip: Elm.Atspi_Text.Clip_Type;
screen_coords: bool; [[If $true, x and y values will be relative to screen origin, otherwise relative to canvas]]
rect: Eina.Rectangle; [[Bounding box]]
xclip: Elm.Atspi_Text.Clip_Type; [[AT-SPI xclip]]
yclip: Elm.Atspi_Text.Clip_Type; [[AT-SPI yclip]]
}
values {
ranges: own(list<own(ptr(Elm.Atspi_Text.Range))>);
ranges: own(list<own(ptr(Elm.Atspi_Text.Range))>); [[List of ranges]]
}
}
@property range_extents @protected {
[[Range extents]]
get {
return: bool; [[$true if range extents, $false otherwise]]
}
keys {
screen_coords: bool; [[If $true, x and y values will be relative to screen origin, otherwise relative to canvas]]
start_offset: int;
end_offset: int;
start_offset: int; [[Start offset]]
end_offset: int; [[End offset]]
}
values {
rect: Eina.Rectangle;
rect: Eina.Rectangle; [[Range rectangle]]
}
}
@property selections_count @protected {

View File

@ -7,6 +7,7 @@ mixin Elm.Interface.Atspi_Widget_Action (Elm.Interface.Atspi_Action)
data: null;
methods {
@property elm_actions @protected {
[[Elementary actions]]
get @virtual_pure {
}
values {