summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_access_selection.eo
blob: f25b2c245bd683d94bf89a7e9381d520757d3257 (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
55
56
57
58
59
60
interface Efl.Access.Selection ()
{
   [[Elementary access selection interface]]
   methods {
      @property selected_children_count @protected @beta {
         get {
            [[Gets the number of currently selected children]]
            return: int; [[Number of currently selected children]]
         }
      }
      @property selected_child @protected @beta {
         [[Gets child for given child index]]
         get {
            return: Efl.Object; [[Child object]]
         }
         keys {
            selected_child_index: int; [[Index of child]]
         }
      }
      child_select @protected @beta {
         [[Adds selection for given child index]]
         params {
            @in child_index: int; [[Index of child]]
         }
         return: bool; [[$true if selection was added, $false otherwise]]
      }
      selected_child_deselect @protected @beta {
         [[Removes selection for given child index]]
         params {
            @in child_index: int; [[Index of child]]
         }
         return: bool; [[$true if selection was removed, $false otherwise]]
      }
      is_child_selected @protected @beta {
         [[Determines if child specified by index is selected]]
         params {
            @in child_index: int; [[Index of child]]
         }
         return: bool; [[$true if child is selected, $false otherwise]]
      }
      all_children_select @protected @beta {
         [[Adds selection for all children]]
         return: bool; [[$true if selection was added to all children, $false otherwise]]
      }
      clear @protected @beta {
         [[Clears the current selection]]
         return: bool; [[$true if selection was cleared, $false otherwise]]
      }
      child_deselect @protected @beta {
         [[Removes selection for given child index]]
         params {
            @in child_index: int; [[Index of child]]
         }
         return: bool; [[$true if selection was removed, $false otherwise]]
      }
   }
   events {
      selection,changed; [[Called when selection has been changed.]]
   }
}