aboutsummaryrefslogtreecommitdiffstats
path: root/examples/emotion
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2013-03-31 15:31:23 +0200
committerdavemds <dave@gurumeditation.it>2013-03-31 15:31:23 +0200
commit87ee5d9be83c17ad801baf8afb37d5f8db1aa23b (patch)
tree214c7720be1af62f7d7f685240b350ab016984d6 /examples/emotion
parentAdd discussion items to CODING. (diff)
downloadpython-efl-87ee5d9be83c17ad801baf8afb37d5f8db1aa23b.tar.gz
Python-EFL: Fix emotion example
Diffstat (limited to 'examples/emotion')
-rw-r--r--examples/emotion/test_emotion.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/emotion/test_emotion.py b/examples/emotion/test_emotion.py
index 2cccaf3..b50414f 100644
--- a/examples/emotion/test_emotion.py
+++ b/examples/emotion/test_emotion.py
@@ -7,6 +7,7 @@ from efl import evas
from efl import edje
from efl import emotion
from efl import elementary
+from efl.elementary.window import Window
def pkgconfig_variable(pkg, var):
@@ -330,7 +331,7 @@ if __name__ == "__main__"or True:
elementary.init()
# elementary window
- win = elementary.Window("test-emotion", elementary.ELM_WIN_BASIC)
+ win = Window("test-emotion", elementary.ELM_WIN_BASIC)
win.title_set("python-emotion test application")
win.callback_delete_request_add(lambda o: elementary.exit())
win.on_key_down_add(AppKeyboardEvents())