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 34d25e0..3ff969f 100644
--- a/efl/edje/efl.edje_object.pxi
+++ b/efl/edje/efl.edje_object.pxi
@@ -783,6 +783,25 @@ cdef class Edje(Object):
783 return edje_object_part_text_input_hint_get(self.obj, 783 return edje_object_part_text_input_hint_get(self.obj,
784 <const char *>part if part is not None else NULL) 784 <const char *>part if part is not None else NULL)
785 785
786 def part_text_prediction_hint_set(self, part, hint):
787 """Sets the prediction hint to use an intelligent reply suggestion
788 service.
789
790 :param part: the part name
791 :type part: str
792
793 :param hint: the prediction hint text
794 :type hint: str
795
796 .. versionadded:: 1.20
797
798 """
799 if isinstance(part, unicode): part = PyUnicode_AsUTF8String(part)
800 if isinstance(hint, unicode): hint = PyUnicode_AsUTF8String(hint)
801 edje_object_part_text_prediction_hint_set(self.obj,
802 <const char *>part if part is not None else NULL,
803 <const char *>hint if hint is not None else NULL)
804
786 def part_swallow(self, part, Object obj): 805 def part_swallow(self, part, Object obj):
787 """Swallows an object into the edje 806 """Swallows an object into the edje
788 807