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.
This commit is contained in:
Cedric BAIL 2017-09-25 15:47:00 -07:00
parent ad3199ffc8
commit ec9869b933
1 changed files with 2 additions and 0 deletions

View File

@ -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;