Elm: Clarify init/shutdown change
With docs and test logging
This commit is contained in:
parent
0c170c5bb3
commit
144e28a230
|
@ -308,6 +308,12 @@ def init():
|
|||
This function initializes Elementary and increments a counter of the number
|
||||
of calls to it. It returns the new counter's value.
|
||||
|
||||
.. versionchanged:: 1.14
|
||||
|
||||
The Python module calls this function when it is imported so you
|
||||
should no longer have any need to call this manually. Calling it does
|
||||
not carry any penalty though.
|
||||
|
||||
"""
|
||||
EINA_LOG_DOM_INFO(PY_EFL_ELM_LOG_DOMAIN,
|
||||
"Initializing efl.elementary", NULL)
|
||||
|
@ -346,6 +352,12 @@ def shutdown():
|
|||
is a possibility to call your ecore callbacks(timer, animator, event,
|
||||
job, and etc.) in shutdown()
|
||||
|
||||
.. versionchanged:: 1.14
|
||||
|
||||
The Python module calls this function when it is exiting so you
|
||||
should no longer have any need to call this manually. Calling it does
|
||||
not carry any penalty though.
|
||||
|
||||
"""
|
||||
EINA_LOG_DOM_INFO(PY_EFL_ELM_LOG_DOMAIN,
|
||||
"Shutting down efl.elementary", NULL)
|
||||
|
|
|
@ -19,6 +19,9 @@ eolog.setLevel(logging.INFO)
|
|||
evaslog = logging.getLogger("efl.evas")
|
||||
evaslog.setLevel(logging.INFO)
|
||||
|
||||
elmlog = logging.getLogger("efl.elementary")
|
||||
elmlog.setLevel(logging.INFO)
|
||||
|
||||
from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL, EXPAND_BOTH, FILL_BOTH
|
||||
from efl import elementary
|
||||
from efl.elementary.window import StandardWindow
|
||||
|
|
Loading…
Reference in New Issue