efl/legacy/elementary/src/lib/elm_color_item.eo

56 lines
1.4 KiB
Plaintext
Raw Normal View History

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 {
@property color {
2014-09-27 22:13:38 -07:00
get {
/*@
Get Palette item's color.
@ingroup Colorselector
*/
}
set {
/*@
Set Palette item's color.
@ingroup Colorselector
*/
}
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 */
2014-09-27 22:13:38 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property selected {
2014-09-27 22:13:38 -07:00
get {
/*@
Get the selected state of color palette item
@since 1.9
@ingroup Colorselector
*/
}
set {
/*@
Set the selected state of color palette item
@since 1.9
@ingroup Colorselector
*/
}
values {
2015-05-18 08:27:18 -07:00
selected: bool; /*@ @c EINA_TRUE if selected @c EINA_FALSE otherwise */
2014-09-27 22:13:38 -07:00
}
}
}
implements {
Eo.Base.constructor;
Eo.Base.destructor;
Elm.Widget_Item.access_register;
Elm.Widget_Item.signal_emit;
2014-09-27 22:13:38 -07:00
}
}