aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/access/text.txt
blob: 6515031fc6f220258956f302d03ad3c0d271ceec (plain) (blame)
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
~~Title: Efl.Access.Text~~
====== Efl.Access.Text (interface) ======

===== Description =====

%%Elementary accessible text interface%%

{{page>:develop:api-include:efl:access:text:description&nouser&nolink&nodate}}

===== Inheritance =====


++++ Inheritance graph |

<graphviz>
digraph hierarchy {
    bgcolor = "transparent"
    size = "6"
    rankdir = "TB"

    node [shape = "box"]
    edge [color = "gray35"]

    efl_access_text [fillcolor = "dodgerblue4", label = "Efl.Access.Text", color = "cornflowerblue", fontcolor = "white", style = "filled"]

}
</graphviz>

++++

++++ Full hierarchy |



++++
===== Members =====

**[[:develop:api:efl:access:text:method:selection_add|selection_add]]** ''protected''
<code c>
Eina_Bool efl_access_text_selection_add(Eo *obj, int start_offset, int end_offset);
</code>

%%Add selection%%\\ 
\\ 
**[[:develop:api:efl:access:text:method:selection_remove|selection_remove]]** ''protected''
<code c>
Eina_Bool efl_access_text_selection_remove(Eo *obj, int selection_number);
</code>

%%Remove selection%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:attributes|attributes]]** //**(get)**// ''protected''
<code c>
Eina_List *efl_access_text_attributes_get(const Eo *obj, int *start_offset, int *end_offset);
</code>

%%Gets list of all text attributes.%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:attribute|attribute]]** //**(get)**// ''protected''
<code c>
Eina_Bool efl_access_text_attribute_get(const Eo *obj, const char *name, int *start_offset, int *end_offset, char **value);
</code>

%%Indicate if a text attribute with a given name is set%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:bounded_ranges|bounded_ranges]]** //**(get)**// ''protected''
<code c>
Eina_List *efl_access_text_bounded_ranges_get(const Eo *obj, Eina_Bool screen_coords, Eina_Rect rect, Efl_Access_Text_Clip_Type xclip, Efl_Access_Text_Clip_Type yclip);
</code>

%%Bounded ranges%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:caret_offset|caret_offset]]** //**(get, set)**// ''protected''
<code c>
int efl_access_text_caret_offset_get(const Eo *obj);
Eina_Bool efl_access_text_caret_offset_set(Eo *obj, int offset);
</code>

%%Caret offset property%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:character_count|character_count]]** //**(get)**// ''protected''
<code c>
int efl_access_text_character_count_get(const Eo *obj);
</code>

%%Character count%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:character_extents|character_extents]]** //**(get)**// ''protected''
<code c>
Eina_Bool efl_access_text_character_extents_get(const Eo *obj, int offset, Eina_Bool screen_coords, Eina_Rect *rect);
</code>

%%Character extents%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:character|character]]** //**(get)**// ''protected''
<code c>
Eina_Unicode efl_access_text_character_get(const Eo *obj, int offset);
</code>

%%Gets single character present in accessible widget's text at given offset.%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:default_attributes|default_attributes]]** //**(get)**// ''protected''
<code c>
Eina_List *efl_access_text_default_attributes_get(const Eo *obj);
</code>

%%Default attributes%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:offset_at_point|offset_at_point]]** //**(get)**// ''protected''
<code c>
int efl_access_text_offset_at_point_get(const Eo *obj, Eina_Bool screen_coords, int x, int y);
</code>

%%Offset at given point%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:range_extents|range_extents]]** //**(get)**// ''protected''
<code c>
Eina_Bool efl_access_text_range_extents_get(const Eo *obj, Eina_Bool screen_coords, int start_offset, int end_offset, Eina_Rect *rect);
</code>

%%Range extents%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:selections_count|selections_count]]** //**(get)**// ''protected''
<code c>
int efl_access_text_selections_count_get(const Eo *obj);
</code>

%%Selection count property%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:selection|selection]]** //**(get, set)**// ''protected''
<code c>
void efl_access_text_selection_get(const Eo *obj, int selection_number, int *start_offset, int *end_offset);
Eina_Bool efl_access_text_selection_set(Eo *obj, int selection_number, int start_offset, int end_offset);
</code>

%%Selection property%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:string|string]]** //**(get)**// ''protected''
<code c>
char *efl_access_text_string_get(const Eo *obj, Efl_Access_Text_Granularity granularity, int *start_offset, int *end_offset);
</code>

%%Gets string, start and end offset in text according to given initial offset and granularity.%%\\ 
\\ 
**[[:develop:api:efl:access:text:property:text|text]]** //**(get)**// ''protected''
<code c>
char *efl_access_text_get(const Eo *obj, int start_offset, int end_offset);
</code>

%%Gets text of accessible widget.%%\\ 
\\ 

===== Events =====

**[[:develop:api:efl:access:text:event:access_text_attributes_changed|access,text,attributes,changed]]**
<code c>
EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_ATTRIBUTES_CHANGED(void)
</code>

%%Text attributes have changed%%\\ 
\\ 
**[[:develop:api:efl:access:text:event:access_text_bounds_changed|access,text,bounds,changed]]**
<code c>
EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_BOUNDS_CHANGED(void)
</code>

%%Text bounds have changed%%\\ 
\\ 
**[[:develop:api:efl:access:text:event:access_text_caret_moved|access,text,caret,moved]]**
<code c>
EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_CARET_MOVED(void)
</code>

%%Caret moved%%\\ 
\\ 
**[[:develop:api:efl:access:text:event:access_text_inserted|access,text,inserted]]**
<code c>
EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_INSERTED(void)
</code>

%%Text was inserted%%\\ 
\\ 
**[[:develop:api:efl:access:text:event:access_text_removed|access,text,removed]]**
<code c>
EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_REMOVED(void)
</code>

%%Text was removed%%\\ 
\\ 
**[[:develop:api:efl:access:text:event:access_text_selection_changed|access,text,selection,changed]]**
<code c>
EFL_ACCESS_TEXT_EVENT_ACCESS_TEXT_SELECTION_CHANGED(void)
</code>

%%Text selection has changed%%\\ 
\\