davemds pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=e087d0d918a819531338a19da2f72dda811e23af
commit e087d0d918a819531338a19da2f72dda811e23af Author: Dave Andreoli <d...@gurumeditation.it> Date: Thu Jan 21 22:51:20 2016 +0100 New 1.17 API: edje.Edje.text_class_del() --- efl/edje/efl.edje_object.pxi | 19 +++++++++++++++++++ include/efl.edje.pxd | 1 + 2 files changed, 20 insertions(+) diff --git a/efl/edje/efl.edje_object.pxi b/efl/edje/efl.edje_object.pxi index fb9831a..1a01e6b 100644 --- a/efl/edje/efl.edje_object.pxi +++ b/efl/edje/efl.edje_object.pxi @@ -371,6 +371,25 @@ cdef class Edje(Object): &font, &size) return (_ctouni(font), size) + def text_class_del(self, text_class): + """Delete the object text class. + + This function deletes any values at the object level for the specified + text class. + + Note: deleting the text class will revert it to the values defined by + edje_text_class_set() or the text class defined in the theme file. + + :param string text_class: The text class name to be deleted + + .. versionadded:: 1.17 + + """ + if isinstance(text_class, unicode): + text_class = PyUnicode_AsUTF8String(text_class) + edje_object_text_class_del(self.obj, + <const char *>text_class if text_class is not None else NULL) + def size_class_set(self, size_class, int minw, int minh, int maxw, int maxh): """Sets the object size class. diff --git a/include/efl.edje.pxd b/include/efl.edje.pxd index 40f3fb8..d2e3810 100644 --- a/include/efl.edje.pxd +++ b/include/efl.edje.pxd @@ -377,6 +377,7 @@ cdef extern from "Edje.h": void edje_object_text_class_set(Evas_Object *obj, char *text_class, char *font, Evas_Font_Size size) Eina_Bool edje_object_text_class_get(Evas_Object *obj, const char *text_class, const char **font, Evas_Font_Size *size) + void edje_object_text_class_del(Evas_Object *obj, const char *text_class) Eina_Bool edje_object_size_class_set(Evas_Object *obj, const char *size_class, int minw, int minh, int maxw, int maxh) Eina_Bool edje_object_size_class_get(Evas_Object *obj, const char *size_class, int *minw, int *minh, int *maxw, int *maxh) --