summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--efl/edje/efl.edje_object.pxi11
-rw-r--r--include/efl.edje.pxd1
2 files changed, 12 insertions, 0 deletions
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):
331 edje_object_color_class_del(self.obj, 331 edje_object_color_class_del(self.obj,
332 <const char *>color_class if color_class is not None else NULL) 332 <const char *>color_class if color_class is not None else NULL)
333 333
334 def color_class_clear(self):
335 """ Clear all object color classes.
336
337 :return: True on success, False otherwise
338 :rtype: bool
339
340 .. versionadded:: 1.17
341
342 """
343 return bool(edje_object_color_class_clear(self.obj))
344
334 def text_class_set(self, text_class, font, int size): 345 def text_class_set(self, text_class, font, int size):
335 """Set text class. 346 """Set text class.
336 347
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":
374 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) 374 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)
375 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) 375 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)
376 void edje_object_color_class_del(Evas_Object *obj, char *color_class) 376 void edje_object_color_class_del(Evas_Object *obj, char *color_class)
377 Eina_Bool edje_object_color_class_clear(Evas_Object *obj)
377 378
378 void edje_object_text_class_set(Evas_Object *obj, char *text_class, char *font, Evas_Font_Size size) 379 void edje_object_text_class_set(Evas_Object *obj, char *text_class, char *font, Evas_Font_Size size)
379 Eina_Bool edje_object_text_class_get(Evas_Object *obj, const char *text_class, const char **font, Evas_Font_Size *size) 380 Eina_Bool edje_object_text_class_get(Evas_Object *obj, const char *text_class, const char **font, Evas_Font_Size *size)