It provides internal input method context similar to elm_entry_textblock_get()
Note: Do NOT cache the return object.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68622
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
_check_enable_return_key(obj);
}
+EAPI void*
+elm_entry_imf_context_get(Evas_Object *obj)
+{
+ ELM_CHECK_WIDTYPE(obj, widtype) NULL;
+ Widget_Data *wd = elm_widget_data_get(obj);
+ if (!wd) return NULL;
+
+ return edje_object_part_text_imf_context_get(wd->ent, "elm.text");
+}
EAPI void elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text);
/**
+ * Returns the input method context of the entry.
+ *
+ * This function exposes the internal input method context.
+ *
+ * IMPORTANT: Many functions may change (i.e delete and create a new one)
+ * the internal input method context. Do NOT cache the returned object.
+ *
+ * @param obj The entry object
+ * @return The input method context (Ecore_IMF_Context *) in entry.
+ */
+EAPI void *elm_entry_imf_context_get(Evas_Object *obj);
+
+/**
* @}
*/