aboutsummaryrefslogtreecommitdiffstats
path: root/examples/elementary/test_colorselector.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_colorselector.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_colorselector.py')
-rw-r--r--examples/elementary/test_colorselector.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/elementary/test_colorselector.py b/examples/elementary/test_colorselector.py
index becc14c..ef03bf9 100644
--- a/examples/elementary/test_colorselector.py
+++ b/examples/elementary/test_colorselector.py
@@ -1,7 +1,8 @@
#!/usr/bin/env python
# encoding: utf-8
-from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL, Rectangle
+from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL, Rectangle, \
+ EXPAND_BOTH, FILL_BOTH, EXPAND_HORIZ
from efl import elementary
from efl.elementary.window import StandardWindow
from efl.elementary.box import Box
@@ -11,9 +12,6 @@ from efl.elementary.colorselector import Colorselector, \
ELM_COLORSELECTOR_PALETTE, ELM_COLORSELECTOR_COMPONENTS, \
ELM_COLORSELECTOR_BOTH
-EXPAND_BOTH = EVAS_HINT_EXPAND, EVAS_HINT_EXPAND
-EXPAND_HORIZ = EVAS_HINT_EXPAND, 0.0
-FILL_BOTH = EVAS_HINT_FILL, EVAS_HINT_FILL
FILL_AND_ALIGN_TOP = EVAS_HINT_FILL, 0.0
def cb_cs_changed(cs, rect):