summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-04-15 00:37:50 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2015-04-15 00:37:50 +0300
commit1d5ae5fbc9d06a7c3f2f2e299daa8d4f2a2ed1eb (patch)
tree3dfb1a7d354f4a639eb88c32383d34ce47d44df1
parent144e28a2306377fa88a42938973fbf077c601186 (diff)
Elm: Add forgotten versionadded
-rw-r--r--efl/elementary/general.pyx16
1 files changed, 14 insertions, 2 deletions
diff --git a/efl/elementary/general.pyx b/efl/elementary/general.pyx
index 301d0d7..4b1fa2c 100644
--- a/efl/elementary/general.pyx
+++ b/efl/elementary/general.pyx
@@ -452,7 +452,10 @@ cdef class EthumbConnect(Event):
452_event_mapping_register(ELM_ECORE_EVENT_ETHUMB_CONNECT, EthumbConnect) 452_event_mapping_register(ELM_ECORE_EVENT_ETHUMB_CONNECT, EthumbConnect)
453 453
454def on_ethumb_connect(func, *args, **kwargs): 454def on_ethumb_connect(func, *args, **kwargs):
455 """Use this to set a handler for the ethumb connect event.""" 455 """Use this to set a handler for the ethumb connect event.
456
457 .. versionadded:: 1.14
458 """
456 return EventHandler(ELM_ECORE_EVENT_ETHUMB_CONNECT, func, *args, **kwargs) 459 return EventHandler(ELM_ECORE_EVENT_ETHUMB_CONNECT, func, *args, **kwargs)
457 460
458 461
@@ -470,6 +473,8 @@ def on_config_all_changed(func, *args, **kwargs):
470 473
471 Emitted when the application has reconfigured elementary settings due to an 474 Emitted when the application has reconfigured elementary settings due to an
472 external configuration tool asking it to. 475 external configuration tool asking it to.
476
477 .. versionadded:: 1.14
473 """ 478 """
474 return EventHandler(ELM_EVENT_CONFIG_ALL_CHANGED, func, *args, **kwargs) 479 return EventHandler(ELM_EVENT_CONFIG_ALL_CHANGED, func, *args, **kwargs)
475 480
@@ -499,7 +504,10 @@ _event_mapping_register(ELM_EVENT_POLICY_CHANGED, PolicyChanged)
499def on_policy_changed(func, *args, **kwargs): 504def on_policy_changed(func, *args, **kwargs):
500 """Use this to set a handler for the policy changed event. 505 """Use this to set a handler for the policy changed event.
501 506
502 Emitted when any Elementary's policy value is changed.""" 507 Emitted when any Elementary's policy value is changed.
508
509 .. versionadded:: 1.14
510 """
503 return EventHandler(ELM_EVENT_POLICY_CHANGED, func, *args, **kwargs) 511 return EventHandler(ELM_EVENT_POLICY_CHANGED, func, *args, **kwargs)
504 512
505 513
@@ -517,6 +525,8 @@ def on_process_background(func, *args, **kwargs):
517 525
518 Emitted when nothing is visible and the process as a whole should go into a 526 Emitted when nothing is visible and the process as a whole should go into a
519 background state. 527 background state.
528
529 .. versionadded:: 1.14
520 """ 530 """
521 return EventHandler(ELM_EVENT_PROCESS_BACKGROUND, func, *args, **kwargs) 531 return EventHandler(ELM_EVENT_PROCESS_BACKGROUND, func, *args, **kwargs)
522 532
@@ -535,6 +545,8 @@ def on_process_background(func, *args, **kwargs):
535 545
536 Emitted when going from nothing being visible to at least one window being 546 Emitted when going from nothing being visible to at least one window being
537 visible. 547 visible.
548
549 .. versionadded:: 1.14
538 """ 550 """
539 return EventHandler(ELM_EVENT_PROCESS_FOREGROUND, func, *args, **kwargs) 551 return EventHandler(ELM_EVENT_PROCESS_FOREGROUND, func, *args, **kwargs)
540 552