diff --git a/efl/edje/efl.edje_object.pxi b/efl/edje/efl.edje_object.pxi index 1a01e6b..1366761 100644 --- a/efl/edje/efl.edje_object.pxi +++ b/efl/edje/efl.edje_object.pxi @@ -331,6 +331,17 @@ cdef class Edje(Object): edje_object_color_class_del(self.obj, color_class if color_class is not None else NULL) + def color_class_clear(self): + """ Clear all object color classes. + + :return: True on success, False otherwise + :rtype: bool + + .. versionadded:: 1.17 + + """ + return bool(edje_object_color_class_clear(self.obj)) + def text_class_set(self, text_class, font, int size): """Set text class. diff --git a/include/efl.edje.pxd b/include/efl.edje.pxd index d2e3810..177f52c 100644 --- a/include/efl.edje.pxd +++ b/include/efl.edje.pxd @@ -374,6 +374,7 @@ cdef extern from "Edje.h": void edje_object_color_class_set(Evas_Object *obj, char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3) void edje_object_color_class_get(Evas_Object *obj, char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3) void edje_object_color_class_del(Evas_Object *obj, char *color_class) + Eina_Bool edje_object_color_class_clear(Evas_Object *obj) 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)