summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_flipselector_item.eo
blob: baa388eede2be55bb2f76010bf50538c4dfab432 (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
class Elm.Flipselector.Item(Elm.Widget.Item)
{
   legacy_prefix: elm_flipselector_item;
   eo_prefix: elm_obj_flipselector_item;
   methods {
        @property selected {
             get {
                [[Get whether a given flip selector widget's item is the currently
                  selected one.

                  See also @.selected.set.
                ]]
             }
             set {
                [[Set whether a given flip selector widget's item should be the
                  currently selected one.

                  This sets whether $item is or not the selected (thus, under
                  display) one. If $item is different than the one under display,
                  the latter will be unselected. If the $item is set to be
                  unselected, on the other hand, the first item in the widget's
                  internal members list will be the new selected one.

                  See also @.selected.get.
                ]]
             }
             values {
                 selected: bool; [[$true if selected, $false otherwise.]]
             }
        }
      prev_get @const {
            [[Get the item before $item in a flip selector widget's internal list of
              items.

              See also @.next_get.
            ]]
            return: Elm.Widget.Item *; [[The item before the $item, in its parent's list. If there is no previous item for $item or there's an error, $null is returned.]]
        }
      next_get @const {
            [[Get the item after $item in a flip selector widget's
              internal list of items.

              See also @.prev_get.
            ]]
             return: Elm.Widget.Item *; [[The item after the $item, in its parent's list. If there is no next item for $item or there's an error, $null is returned.]]
        }
   }
   implements {
        Eo.Base.constructor;
        Eo.Base.destructor;
        Elm.Widget.Item.signal_emit;
        Elm.Widget.Item.part_text.get;
        Elm.Widget.Item.part_text.set;
   }
}