EAPI void elm_scrolled_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled);
EAPI void elm_scrolled_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout);
EAPI Ecore_IMF_Context *elm_scrolled_entry_imf_context_get(Evas_Object *obj);
+ EAPI void elm_scrolled_entry_autocapitalization_set(Evas_Object *obj, Eina_Bool on);
EAPI Evas_Object *elm_conformant_add(Evas_Object *parent);
EAPI void elm_conformant_content_set(Evas_Object *obj, Evas_Object *content);
elm_entry_input_panel_layout_set(wd->entry, layout);
}
+/**
+ * Set whether scrolled entry should support auto capitalization
+ *
+ * @param obj The entry object
+ * @param on If true, scrolled entry suports auto capitalization.
+ *
+ * @ingroup Scrolled_Entry
+ */
+EAPI void
+elm_scrolled_entry_autocapitalization_set(Evas_Object *obj, Eina_Bool on)
+{
+ ELM_CHECK_WIDTYPE(obj, widtype);
+ Widget_Data *wd = elm_widget_data_get(obj);
+ if (!wd || !wd->entry) return;
+
+ elm_entry_autocapitalization_set(wd->entry, on);
+}
+
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
const char *t;
+ Ecore_IMF_Context *ic;
if (!wd) return;
if (wd->single_line == single_line) return;
wd->single_line = single_line;
t = eina_stringshare_add(elm_entry_entry_get(obj));
_elm_theme_object_set(obj, wd->ent, "entry", _getbase(obj), elm_widget_style_get(obj));
elm_entry_entry_set(obj, t);
+ ic = elm_entry_imf_context_get(obj);
+ if (ic)
+ {
+ ecore_imf_context_input_panel_layout_set(ic, wd->input_panel_layout);
+ }
+
eina_stringshare_del(t);
_sizing_eval(obj);
}
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);
+ Ecore_IMF_Context *ic;
const char *t;
if (!wd) return;
if (wd->password == password) return;
t = eina_stringshare_add(elm_entry_entry_get(obj));
_elm_theme_object_set(obj, wd->ent, "entry", _getbase(obj), elm_widget_style_get(obj));
elm_entry_entry_set(obj, t);
+
+ ic = elm_entry_imf_context_get(obj);
+ if (ic)
+ {
+ ecore_imf_context_input_panel_layout_set(ic, wd->input_panel_layout);
+ }
+
eina_stringshare_del(t);
_sizing_eval(obj);
}