2016-05-12 03:21:36 -07:00
|
|
|
class Elm.Color.Item(Elm.Widget.Item)
|
2014-09-27 22:13:38 -07:00
|
|
|
{
|
|
|
|
eo_prefix: elm_obj_color_item;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
2015-07-21 07:01:46 -07:00
|
|
|
@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
|
2014-09-27 22:13:38 -07:00
|
|
|
|
2015-07-21 07:01:46 -07:00
|
|
|
@since 1.9
|
|
|
|
]]
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
[[Set the selected state of color palette item
|
2014-09-27 22:13:38 -07:00
|
|
|
|
2015-07-21 07:01:46 -07:00
|
|
|
@since 1.9
|
|
|
|
]]
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
selected: bool; [[$true if selected $false otherwise]]
|
|
|
|
}
|
|
|
|
}
|
2014-09-27 22:13:38 -07:00
|
|
|
}
|
|
|
|
implements {
|
2015-07-21 07:01:46 -07:00
|
|
|
Eo.Base.constructor;
|
|
|
|
Eo.Base.destructor;
|
2016-05-12 03:21:36 -07:00
|
|
|
Elm.Widget.Item.access_register;
|
|
|
|
Elm.Widget.Item.signal_emit;
|
2014-09-27 22:13:38 -07:00
|
|
|
}
|
|
|
|
}
|