summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-09-25 15:47:00 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-09-25 15:47:00 -0700
commitec9869b933dbf99707e85cf2c7846dc6af6b8ee7 (patch)
tree3d42446ea612c75842d80ecdf00e787e6c429cf3
parentad3199ffc875fd0afc5989ff3994aa27aaf5ecf1 (diff)
downloadefl-ec9869b933dbf99707e85cf2c7846dc6af6b8ee7.tar.gz
ecore: start adding life cycle support to Efl.Loop.
pause event is triggered when no more windows are visible to any user. resume event is triggered when a window make the application visible for the first time to the user after a pause or when starting the application.
-rw-r--r--src/lib/ecore/efl_loop.eo2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore/efl_loop.eo b/src/lib/ecore/efl_loop.eo
index 2a24ae737d..f63acc62c7 100644
--- a/src/lib/ecore/efl_loop.eo
+++ b/src/lib/ecore/efl_loop.eo
@@ -135,6 +135,8 @@ class Efl.Loop (Efl.Object)
poll,high; [[Event occurs multiple time per second. The exact tick is undefined and could be adjusted system wide.]]
poll,medium; [[Event occurs multiple time per minute. The exact tick is undefined and could be adjusted system wide.]]
poll,low; [[Event occurs multiple time every 15 minutes. The exact tick is undefined and could be adjusted system wide.]]
+ pause; [[Called when the window is going not be displayed for some time]]
+ resume; [[Called before a window get rendered after a pause event]]
}
implements {
Efl.Object.constructor;