docs: atspi: add missing docs for enums and structs in atspi text interface

This commit is contained in:
Stefan Schmidt 2016-10-21 18:13:58 +02:00
parent 3dc5dae685
commit a4deea012e
1 changed files with 23 additions and 18 deletions

View File

@ -2,41 +2,46 @@ import eina_types;
enum Elm.Atspi_Text.Granularity enum Elm.Atspi_Text.Granularity
{ {
char, [[Text accessibility granularity]]
word, char, [[Character granularity]]
sentence, word, [[Word granularity]]
line, sentence, [[Sentence granularity]]
paragraph line, [[Line granularity]]
paragraph [[Paragraph granularity]]
} }
enum Elm.Atspi_Text.Clip_Type enum Elm.Atspi_Text.Clip_Type
{ {
[[Text clip type]]
legacy: elm_atspi_text_clip; legacy: elm_atspi_text_clip;
none, none, [[No clip type]]
min, min, [[Minimum clip type]]
max, max, [[Maximum clip type]]
both both [[Both clip types]]
} }
struct Elm.Atspi_Text.Attribute struct Elm.Atspi_Text.Attribute
{ {
name: string; [[Text attribute]]
value: string; name: string; [[Text attribute name]]
value: string; [[Text attribute value]]
} }
struct Elm.Atspi_Text.Range struct Elm.Atspi_Text.Range
{ {
start_offset: int; [[Text range]]
end_offset : int; start_offset: int; [[Range start offset]]
content: char *; end_offset : int; [[Range end offset]]
content: char *; [[Range content]]
} }
struct Elm.Atspi_Text.Change_Info struct Elm.Atspi_Text.Change_Info
{ {
content: string; [[Text change information]]
inserted: bool; content: string; [[Change content]]
pos: size; inserted: bool; [[$true if text got inserted]]
len: size; pos: size; [[Change position]]
len: size; [[Change length]]
} }
interface Elm.Interface.Atspi.Text () interface Elm.Interface.Atspi.Text ()