summaryrefslogtreecommitdiff
path: root/efl/edje/efl.edje_object.pxi
diff options
context:
space:
mode:
Diffstat (limited to 'efl/edje/efl.edje_object.pxi')
-rw-r--r--efl/edje/efl.edje_object.pxi19
1 files changed, 19 insertions, 0 deletions
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):
371 &font, &size) 371 &font, &size)
372 return (_ctouni(font), size) 372 return (_ctouni(font), size)
373 373
374 def text_class_del(self, text_class):
375 """Delete the object text class.
376
377 This function deletes any values at the object level for the specified
378 text class.
379
380 Note: deleting the text class will revert it to the values defined by
381 edje_text_class_set() or the text class defined in the theme file.
382
383 :param string text_class: The text class name to be deleted
384
385 .. versionadded:: 1.17
386
387 """
388 if isinstance(text_class, unicode):
389 text_class = PyUnicode_AsUTF8String(text_class)
390 edje_object_text_class_del(self.obj,
391 <const char *>text_class if text_class is not None else NULL)
392
374 def size_class_set(self, size_class, int minw, int minh, int maxw, int maxh): 393 def size_class_set(self, size_class, int minw, int minh, int maxw, int maxh):
375 """Sets the object size class. 394 """Sets the object size class.
376 395