---
python-elementary/elementary/__init__.py | 6 ++++++
.../elementary/elementary.c_elementary_genlist.pxi | 3 +++
python-elementary/include/elementary/c_elementary.pxd | 7 +++++++
3 files changed, 16 insertions(+)
diff --git a/python-elementary/elementary/__init__.py b/python-elementary/elementary/__init__.py
index b941dec..2d46105 100644
--- a/python-elementary/elementary/__init__.py
+++ b/python-elementary/elementary/__init__.py
@@ -103,6 +103,12 @@ ELM_PANEL_ORIENT_RIGHT = 3
ELM_GENLIST_ITEM_NONE = 0
ELM_GENLIST_ITEM_TREE = 1
ELM_GENLIST_ITEM_GROUP = 2
+ELM_GENLIST_ITEM_MAX = 3
+
+ELM_GENLIST_ITEM_FIELD_ALL = 0
+ELM_GENLIST_ITEM_FIELD_TEXT = 1
+ELM_GENLIST_ITEM_FIELD_CONTENT = 2
+ELM_GENLIST_ITEM_FIELD_STATE = 3
ELM_FLIP_ROTATE_Y_CENTER_AXIS = 0
ELM_FLIP_ROTATE_X_CENTER_AXIS = 1
diff --git a/python-elementary/elementary/elementary.c_elementary_genlist.pxi b/python-elementary/elementary/elementary.c_elementary_genlist.pxi
index 3ddbe08..40403bb 100644
--- a/python-elementary/elementary/elementary.c_elementary_genlist.pxi
+++ b/python-elementary/elementary/elementary.c_elementary_genlist.pxi
@@ -377,6 +377,9 @@ cdef class GenlistItem(WidgetItem):
def update(self):
elm_genlist_item_update(self.obj)
+ def fields_update(self, parts, itf):
+ elm_genlist_item_fields_update(self.obj, parts, itf)
+
def subitems_clear(self):
elm_genlist_item_subitems_clear(self.obj)
diff --git a/python-elementary/include/elementary/c_elementary.pxd b/python-elementary/include/elementary/c_elementary.pxd
index a5c6e56..1696cd1 100644
--- a/python-elementary/include/elementary/c_elementary.pxd
+++ b/python-elementary/include/elementary/c_elementary.pxd
@@ -136,6 +136,12 @@ cdef extern from "Elementary.h":
ELM_GENLIST_ITEM_GROUP
ELM_GENLIST_ITEM_MAX
+ ctypedef enum Elm_Genlist_Item_Field_Type:
+ ELM_GENLIST_ITEM_FIELD_ALL
+ ELM_GENLIST_ITEM_FIELD_TEXT
+ ELM_GENLIST_ITEM_FIELD_CONTENT
+ ELM_GENLIST_ITEM_FIELD_STATE
+
ctypedef enum Elm_Genlist_Item_Scrollto_Type:
ELM_GENLIST_ITEM_SCROLLTO_NONE # no scrollto
ELM_GENLIST_ITEM_SCROLLTO_IN # to the nearest viewport
@@ -751,6 +757,7 @@ cdef extern from "Elementary.h":
void elm_genlist_item_show(Elm_Object_Item *item, Elm_Genlist_Item_Scrollto_Type scrollto_type)
void elm_genlist_item_bring_in(Elm_Object_Item *item, Elm_Genlist_Item_Scrollto_Type scrollto_type)
void elm_genlist_item_update(Elm_Object_Item *item)
+ void elm_genlist_item_fields_update(Elm_Object_Item *item, char *parts, Elm_Genlist_Item_Field_Type itf)
void elm_genlist_item_tooltip_text_set(Elm_Object_Item *item, char *text)
void elm_genlist_item_tooltip_content_cb_set(Elm_Object_Item *item, Elm_Tooltip_Item_Content_Cb func, void *data, evas.c_evas.Evas_Smart_Cb del_cb)
void elm_genlist_item_tooltip_unset(Elm_Object_Item *item)
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel