aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/access/text/property/selection.txt
blob: 341f103f39711b0d50ce4ed51e4583edbfb602b6 (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
~~Title: Efl.Access.Text.selection~~
===== Keys =====

  * **selection_number** - %%Selection number for identification%%
===== Values =====

  * **start_offset** - %%Selection start offset%%
  * **end_offset** - %%Selection end offset%%
===== Description =====

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


===== Signature =====

<code>
@property selection @beta @protected @pure_virtual {
    get {
        keys {
            selection_number: int;
        }
        values {
            start_offset: int;
            end_offset: int;
        }
    }
    set {
        keys {
            selection_number: int;
        }
        values {
            start_offset: int;
            end_offset: int;
        }
        return: bool;
    }
}
</code>

===== C signature =====

<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>

===== Implemented by =====

  * **Efl.Access.Text.selection**