davemds pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=166193b716e35ef9b72253c6df743ff4eb5c30f7
commit 166193b716e35ef9b72253c6df743ff4eb5c30f7 Author: davemds <d...@gurumeditation.it> Date: Sun Feb 23 14:52:25 2014 +0100 Python-EFL: new Entry input panel on demand API. * add property: Entry.input_panel_show_on_demand --- efl/elementary/entry.pxd | 3 +++ efl/elementary/entry.pyx | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/efl/elementary/entry.pxd b/efl/elementary/entry.pxd index b4634f2..dd912c6 100644 --- a/efl/elementary/entry.pxd +++ b/efl/elementary/entry.pxd @@ -133,6 +133,9 @@ cdef extern from "Elementary.h": void elm_entry_input_panel_return_key_disabled_set(Evas_Object *obj, Eina_Bool disabled) Eina_Bool elm_entry_input_panel_return_key_disabled_get(Evas_Object *obj) void elm_entry_input_panel_return_key_autoenabled_set(Evas_Object *obj, Eina_Bool disabled) + Eina_Bool elm_entry_input_panel_show_on_demand_get(const_Evas_Object *obj) + void elm_entry_input_panel_show_on_demand_set(Evas_Object *obj, Eina_Bool ondemand) + void elm_entry_imf_context_reset(Evas_Object *obj) void elm_entry_prediction_allow_set(Evas_Object *obj, Eina_Bool allow) Eina_Bool elm_entry_prediction_allow_get(Evas_Object *obj) diff --git a/efl/elementary/entry.pyx b/efl/elementary/entry.pyx index 110be8a..dc61ead 100644 --- a/efl/elementary/entry.pyx +++ b/efl/elementary/entry.pyx @@ -1647,6 +1647,28 @@ cdef class Entry(LayoutClass): def input_panel_layout_variation_get(self): return elm_entry_input_panel_layout_variation_get(self.obj) + property input_panel_show_on_demand: + """Input panel show on demand. + + Set the attribute to show the input panel in case of only + an user's explicit Mouse Up event. + + :type: bool + + .. versionadded:: 1.9 + + """ + def __set__(self, ondemand): + elm_entry_input_panel_show_on_demand_set(self.obj, ondemand) + + def __get__(self): + return bool(elm_entry_input_panel_show_on_demand_get(self.obj)) + + def input_panel_show_on_demand_set(self, ondemand): + elm_entry_input_panel_show_on_demand_set(self.obj, ondemand) + def input_panel_show_on_demand_get(self): + return bool(elm_entry_input_panel_show_on_demand_get(self.obj)) + property autocapital_type: """Autocapitalization type on the immodule. --