summaryrefslogtreecommitdiff
path: root/examples/elementary/test_ctxpopup.py
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-01-05 12:24:19 +0100
committerDave Andreoli <dave@gurumeditation.it>2015-01-05 12:24:19 +0100
commitde01f76650c06b40b85444d8c4f75a85362c79f5 (patch)
treec758f93a83ef6c5205707b449d08acd15f3782c1 /examples/elementary/test_ctxpopup.py
parent9b52817069b04fcd5811d2c5d77aa8fd422d44fd (diff)
Evas: better define for EVAS_HINT_FILL/EXPAND
Also added the various tuple we always use, just for convenience. Use the new tuples in the elm examples
Diffstat (limited to 'examples/elementary/test_ctxpopup.py')
-rw-r--r--examples/elementary/test_ctxpopup.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/elementary/test_ctxpopup.py b/examples/elementary/test_ctxpopup.py
index af874a0..a945651 100644
--- a/examples/elementary/test_ctxpopup.py
+++ b/examples/elementary/test_ctxpopup.py
@@ -3,7 +3,8 @@
3 3
4import os 4import os
5 5
6from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL, FilledImage 6from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL, FilledImage, \
7 EXPAND_BOTH, FILL_BOTH
7from efl import elementary 8from efl import elementary
8from efl.elementary.window import StandardWindow 9from efl.elementary.window import StandardWindow
9from efl.elementary.box import Box 10from efl.elementary.box import Box
@@ -13,8 +14,6 @@ from efl.elementary.list import List, ELM_LIST_COMPRESS
13from efl.elementary.ctxpopup import Ctxpopup 14from efl.elementary.ctxpopup import Ctxpopup
14from efl.elementary.scroller import Scroller 15from efl.elementary.scroller import Scroller
15 16
16EXPAND_BOTH = EVAS_HINT_EXPAND, EVAS_HINT_EXPAND
17FILL_BOTH = EVAS_HINT_FILL, EVAS_HINT_FILL
18 17
19script_path = os.path.dirname(os.path.abspath(__file__)) 18script_path = os.path.dirname(os.path.abspath(__file__))
20img_path = os.path.join(script_path, "images") 19img_path = os.path.join(script_path, "images")