2019-01-18 05:22:23 -08:00
|
|
|
class Elm.Ctxpopup.Item extends Elm.Widget.Item implements Efl.Access.Widget.Action,
|
|
|
|
Efl.Ui.Legacy
|
2014-09-27 22:14:47 -07:00
|
|
|
{
|
2016-11-21 08:55:43 -08:00
|
|
|
[[Elementary context popup item class]]
|
2016-05-12 09:06:04 -07:00
|
|
|
legacy_prefix: elm_ctxpopup_item;
|
2014-09-27 22:14:47 -07:00
|
|
|
eo_prefix: elm_obj_ctxpopup_item;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
2018-04-16 11:02:59 -07:00
|
|
|
@property prev {
|
|
|
|
get {
|
|
|
|
[[Get the item before this one in the widget's list of items.
|
|
|
|
|
|
|
|
See also @.next.
|
|
|
|
]]
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
item: Elm.Widget.Item; [[The item before the object in its parent's
|
|
|
|
list. If there is no previous item or in case
|
|
|
|
of error, $null is returned.]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@property next {
|
|
|
|
get {
|
|
|
|
[[Get the item after this one in the widget's list of items.
|
|
|
|
|
|
|
|
See also @.prev.
|
|
|
|
]]
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
item: Elm.Widget.Item; [[The item after the object in its parent's
|
|
|
|
list. If there is no next item or in case
|
|
|
|
of error, $null is returned.]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@property selected {
|
|
|
|
[[Indicates whether this item is currently selected.]]
|
|
|
|
get {
|
|
|
|
[[Get the selected state of this item.]]
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
[[Set the selected state of $item.
|
|
|
|
|
|
|
|
This sets the selected state of the given item $it.
|
|
|
|
$true for selected, $false for not selected.
|
|
|
|
|
|
|
|
If a new item is selected the previously selected will
|
|
|
|
be unselected. Previously selected item can be retrieved
|
|
|
|
with @Elm.Ctxpopup.selected_item.get.
|
|
|
|
|
|
|
|
Selected items will be highlighted.
|
|
|
|
]]
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
selected: bool; [[The selection state.]]
|
|
|
|
}
|
|
|
|
}
|
2014-09-27 22:14:47 -07:00
|
|
|
init {
|
2018-02-12 09:56:31 -08:00
|
|
|
[[Init context popup item]]
|
2014-09-27 22:14:47 -07:00
|
|
|
params {
|
2016-11-21 08:55:43 -08:00
|
|
|
func: Evas_Smart_Cb @nullable; [[Smart callback function]]
|
|
|
|
data: const(void_ptr) @optional; [[Data pointer]]
|
2014-09-27 22:14:47 -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.disable;
|
|
|
|
Elm.Widget.Item.signal_emit;
|
2017-08-09 22:02:06 -07:00
|
|
|
Elm.Widget.Item.del_pre;
|
2016-12-27 10:15:41 -08:00
|
|
|
Elm.Widget.Item.part_text { get; set; }
|
|
|
|
Elm.Widget.Item.part_content { get; set; }
|
2017-08-09 22:13:51 -07:00
|
|
|
Elm.Widget.Item.part_content_unset;
|
2018-02-14 18:14:52 -08:00
|
|
|
Elm.Widget.Item.item_focus { get; set; }
|
2017-11-19 19:03:29 -08:00
|
|
|
Efl.Access.Widget.Action.elm_actions { get; }
|
2014-09-27 22:14:47 -07:00
|
|
|
}
|
|
|
|
}
|