summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_access_editable_text.eo
blob: 14d8b280e8b82706b38d2190c5a35c8cd421b7c5 (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 @beta {
         [[Editable content property]]
         set {
            return: bool; [[$true if setting the value succeeded, $false otherwise]]
         }
         values {
            string: string; [[Content]]
         }
      }
      insert @protected @beta {
      [[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 @beta {
      [[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 @beta {
      [[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 @beta {
      [[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 @beta {
      [[Paste text at given position]]
         params {
            @in position: int; [[Position to insert text]]
         }
         return: bool; [[$true if paste succeeded, $false otherwise]]
      }
   }
}