aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-08-01 18:14:55 +0200
committerdavemds <dave@gurumeditation.it>2014-08-01 18:14:55 +0200
commita4d321dacc846a62821a5cbe7f45baaeaa1409e7 (patch)
treeceeec53ae18cee1137e56d1f674345f86e720c53 /examples
parentGengrid: implemented search_by_text_item_get(), with a proper test (diff)
downloadpython-efl-a4d321dacc846a62821a5cbe7f45baaeaa1409e7.tar.gz
Gengrid: new property reorder_type, with test for reorder mode
Diffstat (limited to 'examples')
-rw-r--r--examples/elementary/test_gengrid.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/elementary/test_gengrid.py b/examples/elementary/test_gengrid.py
index 5d0cb2c..302c451 100644
--- a/examples/elementary/test_gengrid.py
+++ b/examples/elementary/test_gengrid.py
@@ -116,6 +116,15 @@ def gengrid_clicked(obj):
tb.pack(bt, 1, 1, 1, 1)
bt.show()
+ # reorder mode
+ def reorder_mode_changed(bt, gg):
+ gg.reorder_mode = bt.state
+
+ bt = Check(win, text="Reorder mode enable")
+ bt.callback_changed_add(reorder_mode_changed, gg)
+ tb.pack(bt, 2, 1, 2, 1)
+ bt.show()
+
# bounce h
def bounce_h_changed(bt, gg):
(h_bounce, v_bounce) = gg.bounce_get()