summaryrefslogtreecommitdiff
path: root/examples/elementary/test_mapbuf.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_mapbuf.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_mapbuf.py')
-rw-r--r--examples/elementary/test_mapbuf.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/elementary/test_mapbuf.py b/examples/elementary/test_mapbuf.py
index 0d9d89f..bce97ff 100644
--- a/examples/elementary/test_mapbuf.py
+++ b/examples/elementary/test_mapbuf.py
@@ -3,7 +3,8 @@
3 3
4import os 4import os
5 5
6from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL, Rectangle 6from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL, Rectangle, \
7 EXPAND_BOTH, FILL_BOTH, EXPAND_HORIZ, FILL_HORIZ
7from efl import elementary 8from efl import elementary
8from efl.elementary.window import Window, ELM_WIN_BASIC 9from efl.elementary.window import Window, ELM_WIN_BASIC
9from efl.elementary.background import Background 10from efl.elementary.background import Background
@@ -16,10 +17,6 @@ from efl.elementary.mapbuf import Mapbuf
16from efl.elementary.scroller import Scroller, ELM_SCROLLER_POLICY_OFF 17from efl.elementary.scroller import Scroller, ELM_SCROLLER_POLICY_OFF
17from efl.elementary.table import Table 18from efl.elementary.table import Table
18 19
19EXPAND_BOTH = EVAS_HINT_EXPAND, EVAS_HINT_EXPAND
20EXPAND_HORIZ = EVAS_HINT_EXPAND, 0.0
21FILL_BOTH = EVAS_HINT_FILL, EVAS_HINT_FILL
22FILL_HORIZ = EVAS_HINT_FILL, 0.5
23ALIGN_CENTER = 0.5, 0.5 20ALIGN_CENTER = 0.5, 0.5
24 21
25SCROLL_POLICY_OFF = ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF 22SCROLL_POLICY_OFF = ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF