aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c')
-rw-r--r--libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c44
1 files changed, 44 insertions, 0 deletions
diff --git a/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c b/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c
index 86badf5..62ba4c8 100644
--- a/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c
+++ b/libraries/ecore/src/lib/ecore_imf_evas/ecore_imf_evas.c
@@ -221,6 +221,28 @@ ecore_imf_evas_event_mouse_wheel_wrap(Evas_Event_Mouse_Wheel *evas_event,
221 * @param evas_event The received Evas event. 221 * @param evas_event The received Evas event.
222 * @param imf_event The location to store the converted Ecore_IMF event. 222 * @param imf_event The location to store the converted Ecore_IMF event.
223 * @ingroup Ecore_IMF_Evas_Group 223 * @ingroup Ecore_IMF_Evas_Group
224 *
225 * Example
226 * @code
227 * static void
228 * _key_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
229 * {
230 * Evas_Event_Key_Down *ev = event_info;
231 * if (!ev->keyname) return;
232 *
233 * if (imf_context)
234 * {
235 * Ecore_IMF_Event_Key_Down ecore_ev;
236 * ecore_imf_evas_event_key_down_wrap(ev, &ecore_ev);
237 * if (ecore_imf_context_filter_event(imf_context,
238 * ECORE_IMF_EVENT_KEY_DOWN,
239 * (Ecore_IMF_Event *)&ecore_ev))
240 * return;
241 * }
242 * }
243 *
244 * evas_object_event_callback_add(obj, EVAS_CALLBACK_KEY_DOWN, _key_down_cb, data);
245 * @endcode
224 */ 246 */
225EAPI void 247EAPI void
226ecore_imf_evas_event_key_down_wrap(Evas_Event_Key_Down *evas_event, 248ecore_imf_evas_event_key_down_wrap(Evas_Event_Key_Down *evas_event,
@@ -244,6 +266,28 @@ ecore_imf_evas_event_key_down_wrap(Evas_Event_Key_Down *evas_event,
244 * @param evas_event The received Evas event. 266 * @param evas_event The received Evas event.
245 * @param imf_event The location to store the converted Ecore_IMF event. 267 * @param imf_event The location to store the converted Ecore_IMF event.
246 * @ingroup Ecore_IMF_Evas_Group 268 * @ingroup Ecore_IMF_Evas_Group
269 *
270 * Example
271 * @code
272 * static void
273 * _key_up_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
274 * {
275 * Evas_Event_Key_Up *ev = event_info;
276 * if (!ev->keyname) return;
277 *
278 * if (imf_context)
279 * {
280 * Ecore_IMF_Event_Key_Up ecore_ev;
281 * ecore_imf_evas_event_key_up_wrap(ev, &ecore_ev);
282 * if (ecore_imf_context_filter_event(imf_context,
283 * ECORE_IMF_EVENT_KEY_UP,
284 * (Ecore_IMF_Event *)&ecore_ev))
285 * return;
286 * }
287 * }
288 *
289 * evas_object_event_callback_add(obj, EVAS_CALLBACK_KEY_UP, _key_up_cb, data);
290 * @endcode
247 */ 291 */
248EAPI void 292EAPI void
249ecore_imf_evas_event_key_up_wrap(Evas_Event_Key_Up *evas_event, 293ecore_imf_evas_event_key_up_wrap(Evas_Event_Key_Up *evas_event,