2015-04-22 04:43:05 -07:00
|
|
|
class Elm.List_Item(Elm.Widget_Item)
|
2014-09-27 22:15:48 -07:00
|
|
|
{
|
|
|
|
eo_prefix: elm_obj_list_item;
|
|
|
|
properties {
|
|
|
|
separator {
|
|
|
|
get {
|
|
|
|
/*@
|
|
|
|
Get a value whether item is a separator or not.
|
2014-10-02 07:44:02 -07:00
|
|
|
@see elm_list_item_separator_set() for details.
|
2014-09-27 22:15:48 -07:00
|
|
|
@ingroup List
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
/*@
|
|
|
|
Set or unset item as a separator.
|
|
|
|
|
|
|
|
Items aren't set as separator by default.
|
|
|
|
|
|
|
|
If set as separator it will display separator theme, so won't display
|
|
|
|
icons or label.
|
|
|
|
|
|
|
|
@see elm_list_item_separator_get()
|
|
|
|
|
|
|
|
@ingroup List
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
values {
|
2015-04-23 03:46:48 -07:00
|
|
|
bool setting; /*@ @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
|
|
|
|
indicates it's not. */
|
2014-09-27 22:15:48 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
selected {
|
|
|
|
get {
|
|
|
|
/*
|
|
|
|
Get whether the @p item is selected or not.
|
|
|
|
|
|
|
|
@see elm_list_selected_item_set() for details.
|
|
|
|
@see elm_list_item_selected_get()
|
|
|
|
|
|
|
|
@ingroup List
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
/*@
|
|
|
|
Set the selected state of an item.
|
|
|
|
|
|
|
|
This sets the selected state of the given item @p it.
|
|
|
|
@c EINA_TRUE for selected, @c EINA_FALSE for not selected.
|
|
|
|
|
|
|
|
If a new item is selected the previously selected will be unselected,
|
|
|
|
unless multiple selection is enabled with elm_list_multi_select_set().
|
|
|
|
Previously selected item can be get with function
|
|
|
|
elm_list_selected_item_get().
|
|
|
|
|
|
|
|
Selected items will be highlighted.
|
|
|
|
|
|
|
|
@see elm_list_item_selected_get()
|
|
|
|
@see elm_list_selected_item_get()
|
|
|
|
@see elm_list_multi_select_set()
|
|
|
|
|
|
|
|
@ingroup List
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
values {
|
2015-04-23 03:46:48 -07:00
|
|
|
bool selected; /*@ the selected state (@c EINA_TRUE selected, @c EINA_FALSE not selected) */
|
2014-09-27 22:15:48 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
object {
|
|
|
|
get {
|
|
|
|
/*@
|
|
|
|
Get the real Evas(Edje) object created to implement the view of a given
|
|
|
|
list @p item.
|
|
|
|
|
|
|
|
Base object is the @c Evas_Object that represents that item.
|
|
|
|
|
|
|
|
@ingroup List
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
Evas_Object *obj; /*@ The base Edje object associated with @p it. */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
prev {
|
|
|
|
get {
|
|
|
|
/*@
|
|
|
|
Get the item before @p it in list.
|
|
|
|
|
|
|
|
@note If it is the first item, @c NULL will be returned.
|
|
|
|
|
|
|
|
@see elm_list_item_append()
|
|
|
|
@see elm_list_items_get()
|
|
|
|
|
|
|
|
@ingroup List
|
|
|
|
*/
|
2014-08-19 04:49:30 -07:00
|
|
|
legacy: elm_list_item_prev;
|
2014-09-27 22:15:48 -07:00
|
|
|
}
|
|
|
|
values {
|
|
|
|
Elm_Object_Item *item; /*@ The item before @p it, or @c NULL if none or on failure. */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
next {
|
|
|
|
get {
|
|
|
|
/*@
|
|
|
|
Get the item after @p it in list.
|
|
|
|
|
|
|
|
@note If it is the last item, @c NULL will be returned.
|
|
|
|
|
|
|
|
@see elm_list_item_append()
|
|
|
|
@see elm_list_items_get()
|
|
|
|
|
|
|
|
@ingroup List
|
|
|
|
*/
|
2014-08-19 04:49:30 -07:00
|
|
|
legacy: elm_list_item_next;
|
2014-09-27 22:15:48 -07:00
|
|
|
}
|
|
|
|
values {
|
|
|
|
Elm_Object_Item *item; /*@ The item after @p it, or @c NULL if none or on failure. */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
methods {
|
|
|
|
/* init { FIXME
|
|
|
|
params {
|
|
|
|
Evas_Smart_Cb func;
|
|
|
|
const(void)* data;
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
show {
|
|
|
|
/*@
|
|
|
|
Show @p item in the list view.
|
|
|
|
|
|
|
|
It won't animate list until item is visible. If such behavior is wanted,
|
|
|
|
use elm_list_bring_in() instead.
|
|
|
|
|
|
|
|
@ingroup List
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
bring_in {
|
|
|
|
/*@
|
|
|
|
Bring in the given item to list view.
|
|
|
|
|
|
|
|
This causes list to jump to the given item @p item and show it
|
|
|
|
(by scrolling), if it is not fully visible.
|
|
|
|
|
|
|
|
This may use animation to do so and take a period of time.
|
|
|
|
|
|
|
|
If animation isn't wanted, elm_list_item_show() can be used.
|
|
|
|
|
|
|
|
@ingroup List
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
|
|
|
Eo.Base.constructor;
|
2015-04-22 04:33:10 -07:00
|
|
|
Elm.Widget_Item.disable;
|
|
|
|
Elm.Widget_Item.del_pre;
|
|
|
|
Elm.Widget_Item.signal_emit;
|
|
|
|
Elm.Widget_Item.focus.set;
|
|
|
|
Elm.Widget_Item.focus.get;
|
|
|
|
Elm.Widget_Item.part_text.get;
|
|
|
|
Elm.Widget_Item.part_text.set;
|
|
|
|
Elm.Widget_Item.part_content.get;
|
|
|
|
Elm.Widget_Item.part_content.set;
|
|
|
|
Elm.Widget_Item.part_content_unset;
|
2014-10-02 07:44:02 -07:00
|
|
|
Elm_Interface_Atspi_Accessible.name.get;
|
|
|
|
Elm_Interface_Atspi_Accessible.state_set.get;
|
|
|
|
Elm_Interface_Atspi_Accessible.children.get;
|
2014-09-27 22:15:48 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|