davemds pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=5594375faca15746a4519ccfef4080e251b99bf9
commit 5594375faca15746a4519ccfef4080e251b99bf9 Author: Dave Andreoli <d...@gurumeditation.it> Date: Sat Nov 14 17:54:21 2015 +0100 test: show python-efl and python versions in win title --- examples/elementary/test.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/elementary/test.py b/examples/elementary/test.py index abb0cb4..e1a4e00 100755 --- a/examples/elementary/test.py +++ b/examples/elementary/test.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # encoding: utf-8 +import platform import logging elog = logging.getLogger("efl") elog.setLevel(logging.INFO) @@ -23,7 +24,7 @@ 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 import elementary, __version__ from efl.elementary.window import StandardWindow from efl.elementary.box import Box, ELM_BOX_LAYOUT_FLOW_HORIZONTAL from efl.elementary.button import Button @@ -311,7 +312,9 @@ def cb_filter(en, win): menu_create(en.text_get(), win) if __name__ == "__main__": - win = StandardWindow("test", "Python EFL test application") + title = "Python EFL version %s (on python: %s)" % ( + __version__, platform.python_version()) + win = StandardWindow("test", title) win.callback_delete_request_add(destroy, "test1", "test2", str3="test3", str4="test4") --