aboutsummaryrefslogtreecommitdiffstats
path: root/examples/elementary
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-04-12 12:49:43 +0200
committerDave Andreoli <dave@gurumeditation.it>2015-04-12 12:49:43 +0200
commit6fbe0ba320cda32a47201a5f152bfbff5af39002 (patch)
treed2d614b69044550be40345f5afecf510261836aa /examples/elementary
parentNew 1.14 property: Evas.Image.orient (diff)
downloadpython-efl-6fbe0ba320cda32a47201a5f152bfbff5af39002.tar.gz
New 1.14 function: Elm.Transit.go_in()
with test
Diffstat (limited to 'examples/elementary')
-rw-r--r--examples/elementary/test_transit.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/elementary/test_transit.py b/examples/elementary/test_transit.py
index 7a0bfca..86709d7 100644
--- a/examples/elementary/test_transit.py
+++ b/examples/elementary/test_transit.py
@@ -69,8 +69,8 @@ def transit_wipe(obj):
trans.effect_wipe_add(ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE,
ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT)
- trans.duration = 5.0
- trans.go()
+ trans.duration = 2.0
+ trans.go_in(3.0)
def transit_del_cb(transit, *args, **kwargs):
obj = args[0]
@@ -182,7 +182,7 @@ def transit_clicked(obj, item=None):
bt.show()
bt.callback_clicked_add(transit_rotation_color)
- bt = Button(win, text="Wipe Effect", size_hint_weight=EXPAND_BOTH)
+ bt = Button(win, text="Wipe Effect (in 3 sec)", size_hint_weight=EXPAND_BOTH)
bx.pack_end(bt)
bt.show()
bt.callback_clicked_add(transit_wipe)