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

56 lines
1.4 KiB
Plaintext

class Elm.Color_Item(Elm.Widget_Item)
{
eo_prefix: elm_obj_color_item;
methods {
@property color {
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 */
}
}
@property selected {
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 {
selected: bool; /*@ @c EINA_TRUE if selected @c EINA_FALSE otherwise */
}
}
}
implements {
Eo.Base.constructor;
Eo.Base.destructor;
Elm.Widget_Item.access_register;
Elm.Widget_Item.signal_emit;
}
}