aboutsummaryrefslogtreecommitdiffstats
path: root/examples/elementary/test_frame.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_frame.py
parentA little review of the INSTALL file (diff)
downloadpython-efl-de01f76650c06b40b85444d8c4f75a85362c79f5.tar.gz
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_frame.py')
-rw-r--r--examples/elementary/test_frame.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/elementary/test_frame.py b/examples/elementary/test_frame.py
index 9b1a779..5aa979d 100644
--- a/examples/elementary/test_frame.py
+++ b/examples/elementary/test_frame.py
@@ -3,7 +3,7 @@
import os
-from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL
+from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL, EXPAND_BOTH, FILL_BOTH
from efl import elementary
from efl.elementary.window import StandardWindow
from efl.elementary.scroller import Scroller
@@ -13,8 +13,6 @@ from efl.elementary.frame import Frame
from efl.elementary.icon import Icon
from efl.elementary.label import Label
-EXPAND_BOTH = EVAS_HINT_EXPAND, EVAS_HINT_EXPAND
-FILL_BOTH = EVAS_HINT_FILL, EVAS_HINT_FILL
script_path = os.path.dirname(os.path.abspath(__file__))
img_path = os.path.join(script_path, "images")