summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_interface_atspi_selection.eo
blob: e7d47629cd606ff21441093a7c8117642ea824c8 (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 Elm.Interface.Atspi.Selection ()
{
   eo_prefix: elm_interface_atspi_selection;
   methods {
      @property selected_children_count @protected {
         get {
            [[Gets the number of currently selected children]]
            return: int;
         }
      }
      @property selected_child @protected {
         [[Gets child for given child index]]
         get {
            return: Eo.Base *;
         }
         keys {
            selected_child_index: int; [[index of selected child]]
         }
      }
      child_select @protected {
         [[Adds selection for given child index]]
         params {
            @in child_index: int;
         }
         return: bool;
      }
      selected_child_deselect @protected {
         [[Removes selection for given child index]]
         params {
            @in child_index: int;
         }
         return: bool;
      }
      is_child_selected @protected {
         [[Determines if child specified by index is selected]]
         params {
            @in child_index: int;
         }
         return: bool;
      }
      all_children_select @protected {
         [[Adds selection for all children]]
         return: bool;
      }
      clear @protected {
         [[Clears the current selection]]
         return: bool;
      }
      child_deselect @protected {
         [[Removes selection for given child index]]
         params {
            @in child_index: int;
         }
         return: bool;
      }
   }
   events {
      selection,changed; [[Called when selection has been changed.]]
   }
}