This patch adds the python equivalent for elm_list_item_label_set()
by adding the method label_set() to elementary.ListItem
When I finish this elm project i'm working on, i plan to add more of those.
Index: include/elementary/c_elementary.pxd
===================================================================
--- include/elementary/c_elementary.pxd (revision 43453)
+++ include/elementary/c_elementary.pxd (working copy)
@@ -419,6 +419,7 @@
evas.c_evas.Evas_Object *elm_list_item_end_get(Elm_List_Item *item)
evas.c_evas.Evas_Object *elm_list_item_base_get(Elm_List_Item *item)
char* elm_list_item_label_get(Elm_List_Item *item)
+ void elm_list_item_label_set(Elm_List_Item *item, char* text)
Elm_List_Item *elm_list_item_prev(Elm_List_Item *it)
Elm_List_Item *elm_list_item_next(Elm_List_Item *it)
Index: elementary/elementary.c_elementary_list.pxi
===================================================================
--- elementary/elementary.c_elementary_list.pxi (revision 43453)
+++ elementary/elementary.c_elementary_list.pxi (working copy)
@@ -161,6 +161,9 @@
def label_get(self):
return elm_list_item_label_get(self.item)
+
+ def label_set(self, label):
+ elm_list_item_label_set(self.item, label)
def prev(self):
self.item = elm_list_item_prev(self.item)
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel