efl/src/lib/elementary/elm_index_item.eo

51 lines
1.8 KiB
Plaintext
Raw Normal View History

class Elm.Index.Item(Elm.Widget.Item, Efl.Access.Widget.Action, Efl.Ui.Legacy)
2014-09-27 22:14:58 -07:00
{
[[Elementary index item class]]
legacy_prefix: elm_index_item;
2014-09-27 22:14:58 -07:00
eo_prefix: elm_obj_index_item;
2015-05-07 09:32:53 -07:00
methods {
@property selected {
2014-09-27 22:14:58 -07:00
set {
2015-08-06 06:59:32 -07:00
[[Set the selected state of an item.
2014-09-27 22:14:58 -07:00
2015-08-06 06:59:32 -07:00
This sets the selected state of the given item $it.
$true for selected, $false for not selected.
2014-09-27 22:14:58 -07:00
2015-08-06 06:59:32 -07:00
If a new item is selected the previously selected will be unselected.
Previously selected item can be get with function
elm_index_selected_item_get().
2014-09-27 22:14:58 -07:00
2015-08-06 06:59:32 -07:00
Selected items will be highlighted.]]
2014-09-27 22:14:58 -07:00
}
values {
2015-08-06 06:59:32 -07:00
selected: bool; [[$true if selected, $false otherwise]]
2014-09-27 22:14:58 -07:00
}
}
@property priority {
set {
2015-08-06 06:59:32 -07:00
[[Sets the priority of an item.
2015-08-06 06:59:32 -07:00
The priority is -1 by default, which means that the item doesn't belong to a group.
The value of the priority starts from 0.
2015-08-06 06:59:32 -07:00
In elm_index_level_go, the items are sorted in ascending order according to priority.
Items of the same priority make a group and the primary group is shown by default.]]
}
values {
2015-08-06 06:59:32 -07:00
priority: int; [[The priority]]
}
}
2014-09-27 22:14:58 -07:00
letter_get @const {
2015-08-06 06:59:32 -07:00
[[Get the letter (string) set on a given index widget item.]]
return: string; [[The letter string set on $item]]
2014-09-27 22:14:58 -07:00
}
}
implements {
Efl.Object.constructor;
Efl.Object.destructor;
Elm.Widget.Item.access_register;
Efl.Access.name { get; }
Efl.Access.Widget.Action.elm_actions { get; }
2014-09-27 22:14:58 -07:00
}
}