2017-11-15 18:31:26 -08:00
|
|
|
class Elm.Color.Item(Elm.Widget.Item, Efl.Ui.Focus.Object, Efl.Access.Widget.Action)
|
2014-09-27 22:13:38 -07:00
|
|
|
{
|
2016-11-24 06:12:20 -08:00
|
|
|
[[Elementary color item class]]
|
2016-05-12 09:06:04 -07:00
|
|
|
legacy_prefix: elm_color_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 {
|
2016-11-24 06:12:20 -08:00
|
|
|
r: int; [[Red-value of color]]
|
|
|
|
g: int; [[Green-value of color]]
|
|
|
|
b: int; [[Blue-value of color]]
|
|
|
|
a: int; [[Alpha-value of color]]
|
2015-07-21 07:01:46 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@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 {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
|
|
|
Efl.Object.destructor;
|
2016-05-12 03:21:36 -07:00
|
|
|
Elm.Widget.Item.access_register;
|
|
|
|
Elm.Widget.Item.signal_emit;
|
2018-02-14 18:14:52 -08:00
|
|
|
Elm.Widget.Item.item_focus { get; set; }
|
2017-09-25 09:01:04 -07:00
|
|
|
Efl.Ui.Focus.Object.focus { set; }
|
|
|
|
Efl.Ui.Focus.Object.focus_geometry { get; }
|
2018-04-03 04:27:30 -07:00
|
|
|
Efl.Access.Object.state_set { get; }
|
|
|
|
Efl.Access.Object.i18n_name { get; }
|
2017-11-15 18:31:26 -08:00
|
|
|
Efl.Access.Widget.Action.elm_actions { get; }
|
2014-09-27 22:13:38 -07:00
|
|
|
}
|
|
|
|
}
|