summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_color_item.eo
blob: 00928c379f76ce25ebe72af952d97f87bd6d8fe1 (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
class Elm.Color.Item(Elm.Widget.Item)
{
   legacy_prefix: elm_color_item;
   eo_prefix: elm_obj_color_item;
   methods {
      @property color {
         get {
            [[Get Palette item's color.]]
         }
         set {
            [[Set Palette item's color.]]
         }
         values {
            r: int; [[red-value of color]]
            g: int; [[green-value of color]]
            b: int; [[blue-value of color]]
            a: int; [[alpha-value of color]]
         }
      }
      @property selected {
         get {
            [[Get the selected state of color palette item

              @since 1.9
            ]]
         }
         set {
            [[Set the selected state of color palette item

              @since 1.9
            ]]
         }
         values {
                 selected: bool; [[$true if selected $false otherwise]]
         }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
      Elm.Widget.Item.access_register;
      Elm.Widget.Item.signal_emit;
      Elm.Widget.Item.focus.set;
      Elm.Widget.Item.focus.get;
   }
}