2016-05-12 03:43:52 -07:00
|
|
|
interface Elm.Interface.Atspi.Text.Editable ()
|
2014-06-10 00:18:17 -07:00
|
|
|
{
|
2016-11-04 02:42:15 -07:00
|
|
|
[[Elementary AT-SPI text editable interface]]
|
2016-05-12 03:43:52 -07:00
|
|
|
eo_prefix: elm_interface_atspi_text_editable;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property content @protected {
|
2016-10-21 09:32:48 -07:00
|
|
|
[[Editable content property]]
|
2014-06-10 00:18:17 -07:00
|
|
|
set {
|
2016-10-21 09:32:48 -07:00
|
|
|
return: bool; [[$true if setting the value succeeded, $false otherwise]]
|
2014-06-10 00:18:17 -07:00
|
|
|
}
|
|
|
|
values {
|
2016-10-21 09:32:48 -07:00
|
|
|
string: string; [[Content]]
|
2014-06-10 00:18:17 -07:00
|
|
|
}
|
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
insert @protected {
|
2016-10-21 09:32:48 -07:00
|
|
|
[[Insert text at given position]]
|
2014-06-10 00:18:17 -07:00
|
|
|
params {
|
2016-10-21 09:32:48 -07:00
|
|
|
@in string: string; [[String to be inserted]]
|
|
|
|
@in position: int; [[Position to insert string]]
|
2014-06-10 00:18:17 -07:00
|
|
|
}
|
2016-10-21 09:32:48 -07:00
|
|
|
return: bool; [[$true if insert succeeded, $false otherwise]]
|
2014-06-10 00:18:17 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
copy @protected {
|
2016-10-21 09:32:48 -07:00
|
|
|
[[Copy text between start and end parameter]]
|
2014-06-10 00:18:17 -07:00
|
|
|
params {
|
2016-10-21 09:32:48 -07:00
|
|
|
@in start: int; [[Start position to copy]]
|
|
|
|
@in end: int; [[End position to copy]]
|
2014-06-10 00:18:17 -07:00
|
|
|
}
|
2016-10-21 09:32:48 -07:00
|
|
|
return: bool; [[$true if copy succeeded, $false otherwise]]
|
2014-06-10 00:18:17 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
cut @protected {
|
2016-10-21 09:32:48 -07:00
|
|
|
[[Cut text between start and end parameter]]
|
2014-06-10 00:18:17 -07:00
|
|
|
params {
|
2016-10-21 09:32:48 -07:00
|
|
|
@in start: int; [[Start position to cut]]
|
|
|
|
@in end: int; [[End position to cut]]
|
2014-06-10 00:18:17 -07:00
|
|
|
}
|
2016-10-21 09:32:48 -07:00
|
|
|
return: bool; [[$true if cut succeeded, $false otherwise]]
|
2014-06-10 00:18:17 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
delete @protected {
|
2016-10-21 09:32:48 -07:00
|
|
|
[[Delete text between start and end parameter]]
|
2014-06-10 00:18:17 -07:00
|
|
|
params {
|
2016-10-21 09:32:48 -07:00
|
|
|
@in start: int; [[Start position to delete]]
|
|
|
|
@in end: int; [[End position to delete]]
|
2014-06-10 00:18:17 -07:00
|
|
|
}
|
2016-10-21 09:32:48 -07:00
|
|
|
return: bool; [[$true if delete succeeded, $false otherwise]]
|
2014-06-10 00:18:17 -07:00
|
|
|
}
|
2014-07-22 08:36:29 -07:00
|
|
|
paste @protected {
|
2016-10-21 09:32:48 -07:00
|
|
|
[[Paste text at given position]]
|
2014-06-10 00:18:17 -07:00
|
|
|
params {
|
2016-10-21 09:32:48 -07:00
|
|
|
@in position: int; [[Position to insert text]]
|
2014-06-10 00:18:17 -07:00
|
|
|
}
|
2016-10-21 09:32:48 -07:00
|
|
|
return: bool; [[$true if paste succeeded, $false otherwise]]
|
2014-06-10 00:18:17 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|