summaryrefslogtreecommitdiff
path: root/efl/elementary/entry.pxi
diff options
context:
space:
mode:
Diffstat (limited to 'efl/elementary/entry.pxi')
-rw-r--r--efl/elementary/entry.pxi18
1 files changed, 18 insertions, 0 deletions
diff --git a/efl/elementary/entry.pxi b/efl/elementary/entry.pxi
index 358b9a5..155d4c3 100644
--- a/efl/elementary/entry.pxi
+++ b/efl/elementary/entry.pxi
@@ -1472,6 +1472,24 @@ cdef class Entry(LayoutClass):
1472 def prediction_allow_get(self): 1472 def prediction_allow_get(self):
1473 return elm_entry_prediction_allow_get(self.obj) 1473 return elm_entry_prediction_allow_get(self.obj)
1474 1474
1475 property prediction_hint:
1476 """The prediction hint to use an intelligent reply suggestion service.
1477
1478 :type: string (**writeonly**)
1479
1480 .. versionadded:: 1.20
1481
1482 """
1483 def __set__(self, string):
1484 if isinstance(string, unicode): string = PyUnicode_AsUTF8String(string)
1485 elm_entry_prediction_hint_set(self.obj,
1486 <const char *>string if string is not None else NULL)
1487
1488 def prediction_hint_set(self, string):
1489 if isinstance(string, unicode): string = PyUnicode_AsUTF8String(string)
1490 elm_entry_prediction_hint_set(self.obj,
1491 <const char *>string if string is not None else NULL)
1492
1475 # TODO: 1493 # TODO:
1476 # def filter_limit_size(self, data, text): 1494 # def filter_limit_size(self, data, text):
1477 # """Filter inserted text based on user defined character and byte limits 1495 # """Filter inserted text based on user defined character and byte limits