summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2016-08-15 14:31:47 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2016-08-15 14:31:47 +0300
commitedc9306e84611571e1ec4919d64e45e0d4c8a3c8 (patch)
treef52672f21afc61043cc7b4aa265a014c48496384
parent572c6d60f1e82e779ff4dd204987b95a8c52031c (diff)
-rw-r--r--efl/ecore_input/efl.ecore_input_events.pxi32
1 files changed, 16 insertions, 16 deletions
diff --git a/efl/ecore_input/efl.ecore_input_events.pxi b/efl/ecore_input/efl.ecore_input_events.pxi
index c449491..fce723b 100644
--- a/efl/ecore_input/efl.ecore_input_events.pxi
+++ b/efl/ecore_input/efl.ecore_input_events.pxi
@@ -41,14 +41,14 @@ cdef int _ecore_input_events_register() except 0:
41 global _input_events_registered 41 global _input_events_registered
42 42
43 if _input_events_registered == 0: 43 if _input_events_registered == 0:
44 _event_mapping_register(enums.ECORE_EVENT_KEY_DOWN, EventKey) 44 _event_mapping_register(ECORE_EVENT_KEY_DOWN, EventKey)
45 _event_mapping_register(enums.ECORE_EVENT_KEY_UP, EventKey) 45 _event_mapping_register(ECORE_EVENT_KEY_UP, EventKey)
46 _event_mapping_register(enums.ECORE_EVENT_MOUSE_BUTTON_DOWN, EventMouseButton) 46 _event_mapping_register(ECORE_EVENT_MOUSE_BUTTON_DOWN, EventMouseButton)
47 _event_mapping_register(enums.ECORE_EVENT_MOUSE_BUTTON_UP, EventMouseButton) 47 _event_mapping_register(ECORE_EVENT_MOUSE_BUTTON_UP, EventMouseButton)
48 _event_mapping_register(enums.ECORE_EVENT_MOUSE_MOVE, EventMouseMove) 48 _event_mapping_register(ECORE_EVENT_MOUSE_MOVE, EventMouseMove)
49 _event_mapping_register(enums.ECORE_EVENT_MOUSE_IN, EventMouseIO) 49 _event_mapping_register(ECORE_EVENT_MOUSE_IN, EventMouseIO)
50 _event_mapping_register(enums.ECORE_EVENT_MOUSE_OUT, EventMouseIO) 50 _event_mapping_register(ECORE_EVENT_MOUSE_OUT, EventMouseIO)
51 _event_mapping_register(enums.ECORE_EVENT_MOUSE_WHEEL, EventMouseWheel) 51 _event_mapping_register(ECORE_EVENT_MOUSE_WHEEL, EventMouseWheel)
52 52
53 _input_events_registered = 1 53 _input_events_registered = 1
54 54
@@ -319,7 +319,7 @@ def on_key_down_add(func, *args, **kargs):
319 319
320 .. seealso:: :class:`EventKey` 320 .. seealso:: :class:`EventKey`
321 """ 321 """
322 return InputEventHandler(enums.ECORE_EVENT_KEY_DOWN, func, *args, **kargs) 322 return InputEventHandler(ECORE_EVENT_KEY_DOWN, func, *args, **kargs)
323 323
324def on_key_up_add(func, *args, **kargs): 324def on_key_up_add(func, *args, **kargs):
325 """ 325 """
@@ -329,7 +329,7 @@ def on_key_up_add(func, *args, **kargs):
329 329
330 .. seealso:: :class:`EventKey` 330 .. seealso:: :class:`EventKey`
331 """ 331 """
332 return InputEventHandler(enums.ECORE_EVENT_KEY_UP, func, *args, **kargs) 332 return InputEventHandler(ECORE_EVENT_KEY_UP, func, *args, **kargs)
333 333
334def on_mouse_button_down_add(func, *args, **kargs): 334def on_mouse_button_down_add(func, *args, **kargs):
335 """ 335 """
@@ -339,7 +339,7 @@ def on_mouse_button_down_add(func, *args, **kargs):
339 339
340 .. seealso:: :class:`EventMouseButton` 340 .. seealso:: :class:`EventMouseButton`
341 """ 341 """
342 return InputEventHandler(enums.ECORE_EVENT_MOUSE_BUTTON_DOWN, func, *args, **kargs) 342 return InputEventHandler(ECORE_EVENT_MOUSE_BUTTON_DOWN, func, *args, **kargs)
343 343
344def on_mouse_button_up_add(func, *args, **kargs): 344def on_mouse_button_up_add(func, *args, **kargs):
345 """ 345 """
@@ -349,7 +349,7 @@ def on_mouse_button_up_add(func, *args, **kargs):
349 349
350 .. seealso:: :class:`EventMouseButton` 350 .. seealso:: :class:`EventMouseButton`
351 """ 351 """
352 return InputEventHandler(enums.ECORE_EVENT_MOUSE_BUTTON_UP, func, *args, **kargs) 352 return InputEventHandler(ECORE_EVENT_MOUSE_BUTTON_UP, func, *args, **kargs)
353 353
354def on_mouse_move_add(func, *args, **kargs): 354def on_mouse_move_add(func, *args, **kargs):
355 """ 355 """
@@ -359,7 +359,7 @@ def on_mouse_move_add(func, *args, **kargs):
359 359
360 .. seealso:: :class:`EventMouseMove` 360 .. seealso:: :class:`EventMouseMove`
361 """ 361 """
362 return InputEventHandler(enums.ECORE_EVENT_MOUSE_MOVE, func, *args, **kargs) 362 return InputEventHandler(ECORE_EVENT_MOUSE_MOVE, func, *args, **kargs)
363 363
364def on_mouse_in_add(func, *args, **kargs): 364def on_mouse_in_add(func, *args, **kargs):
365 """ 365 """
@@ -369,7 +369,7 @@ def on_mouse_in_add(func, *args, **kargs):
369 369
370 .. seealso:: :class:`EventMouseIO` 370 .. seealso:: :class:`EventMouseIO`
371 """ 371 """
372 return InputEventHandler(enums.ECORE_EVENT_MOUSE_IN, func, *args, **kargs) 372 return InputEventHandler(ECORE_EVENT_MOUSE_IN, func, *args, **kargs)
373 373
374def on_mouse_out_add(func, *args, **kargs): 374def on_mouse_out_add(func, *args, **kargs):
375 """ 375 """
@@ -379,7 +379,7 @@ def on_mouse_out_add(func, *args, **kargs):
379 379
380 .. seealso:: :class:`EventMouseIO` 380 .. seealso:: :class:`EventMouseIO`
381 """ 381 """
382 return InputEventHandler(enums.ECORE_EVENT_MOUSE_OUT, func, *args, **kargs) 382 return InputEventHandler(ECORE_EVENT_MOUSE_OUT, func, *args, **kargs)
383 383
384def on_mouse_wheel_add(func, *args, **kargs): 384def on_mouse_wheel_add(func, *args, **kargs):
385 """ 385 """
@@ -389,4 +389,4 @@ def on_mouse_wheel_add(func, *args, **kargs):
389 389
390 .. seealso:: :class:`EventMouseWheel` 390 .. seealso:: :class:`EventMouseWheel`
391 """ 391 """
392 return InputEventHandler(enums.ECORE_EVENT_MOUSE_WHEEL, func, *args, **kargs) 392 return InputEventHandler(ECORE_EVENT_MOUSE_WHEEL, func, *args, **kargs)