summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_access_editable_text.eo
blob: 21c823b3f0b9977fae97b3c55ecd363fb8c63d79 (plain)
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
interface Efl.Access.Editable.Text ()
{
   [[Elementary editable text interface]]
   methods {
      @property content @protected {
         [[Editable content property]]
         set {
            return: bool; [[$true if setting the value succeeded, $false otherwise]]
         }
         values {
            string: string; [[Content]]
         }
      }
      insert @protected {
      [[Insert text at given position]]
         params {
            @in string: string; [[String to be inserted]]
            @in position: int; [[Position to insert string]]
         }
         return: bool; [[$true if insert succeeded, $false otherwise]]
      }
      copy @protected {
      [[Copy text between start and end parameter]]
         params {
            @in start: int; [[Start position to copy]]
            @in end: int; [[End position to copy]]
         }
         return: bool; [[$true if copy succeeded, $false otherwise]]
      }
      cut @protected {
      [[Cut text between start and end parameter]]
         params {
            @in start: int; [[Start position to cut]]
            @in end: int; [[End position to cut]]
         }
         return: bool; [[$true if cut succeeded, $false otherwise]]
      }
      delete @protected {
      [[Delete text between start and end parameter]]
         params {
            @in start: int; [[Start position to delete]]
            @in end: int; [[End position to delete]]
         }
         return: bool; [[$true if delete succeeded, $false otherwise]]
      }
      paste @protected {
      [[Paste text at given position]]
         params {
            @in position: int; [[Position to insert text]]
         }
         return: bool; [[$true if paste succeeded, $false otherwise]]
      }
   }
}