summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_actionslider.eo
blob: 6e70845f08d4d1d44579f745101bf88a1905a5d7 (plain) (blame)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
class Elm.Actionslider (Elm.Layout)
{
   eo_prefix: elm_obj_actionslider;
   methods {
      @property indicator_pos {
         set {
            /*@
            Set actionslider indicator position.

            @ingroup Actionslider */
         }
         get {
            /*@
            Get actionslider indicator position.

            @return The position of the indicator.

            @ingroup Actionslider */
         }
         values {
            Elm_Actionslider_Pos pos; /*@ The position of the indicator. */
         }
      }
      @property magnet_pos {
         set {
            /*@
            Set actionslider magnet position. To make multiple positions magnets @c or
            them together (e.g. #ELM_ACTIONSLIDER_LEFT | #ELM_ACTIONSLIDER_RIGHT)

            @ingroup Actionslider */
         }
         get {
            /*@
            Get actionslider magnet position.

            @return The positions with magnet property.

            @ingroup Actionslider */
         }
         values {
            Elm_Actionslider_Pos pos; /*@ Bit mask indicating the magnet positions. */
         }
      }
      @property enabled_pos {
         set {
            /*@
            Set actionslider enabled position. To set multiple positions as enabled @c or
            them together(e.g.: #ELM_ACTIONSLIDER_LEFT | #ELM_ACTIONSLIDER_RIGHT).

            @note All the positions are enabled by default.

            @ingroup Actionslider */
         }
         get {
            /*@
            Get actionslider enabled position.

            @return The enabled positions.

            @ingroup Actionslider */
         }
         values {
            Elm_Actionslider_Pos pos; /*@ Bit mask indicating the enabled positions. */
         }
      }
      @property selected_label {
         get {
            /*@
            Get actionslider selected label.

            @return The selected label

            @ingroup Actionslider */
            return: const(char)*;
         }
      }
   }
   implements {
      class.constructor;
      Eo.Base.constructor;
      Evas.Object_Smart.add;
      Elm.Widget.focus_next_manager_is;
      Elm.Widget.focus_direction_manager_is;
      Elm.Widget.theme_apply;
      Elm.Layout.text_set;
      Elm.Layout.text_get;
      Elm.Layout.text_aliases.get;
      Elm.Layout.sizing_eval;
   }
   events {
      language,changed;
      access,changed;
   }

}