aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-03-11 15:37:06 +0200
committerKai Huuhko <kai.huuhko@gmail.com>2015-03-11 15:37:06 +0200
commita407e1129807922a087c4bf16bc2ae89b30b4461 (patch)
tree4c63ea57345814373e2f1c8fd0aab64282d155b1 /examples
parentEvas.SmartObject: Keep refs in a list (diff)
downloadpython-efl-a407e1129807922a087c4bf16bc2ae89b30b4461.tar.gz
Evas: Change SmartCb event_info conversions into C functions
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/elementary/test.py2
-rw-r--r--examples/elementary/test_genlist.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/elementary/test.py b/examples/elementary/test.py
index 0ce1d16..4f9bb19 100755
--- a/examples/elementary/test.py
+++ b/examples/elementary/test.py
@@ -44,7 +44,7 @@ items = [
("Evas Object Callbacks", "test_core_evas_object_callbacks",
"core_evas_object_callbacks_clicked"),
("Evas Textgrid", "test_evas_textgrid", "evas_textgrid_clicked"),
- # ("Evas Smart Object","test_core_evas_smart","core_evas_smart_clicked"),
+ ("Evas Smart Object","test_core_evas_smart","core_evas_smart_clicked"),
]),
("3D", [
("Evas Map 3D", "test_3d", "evas3d_clicked"),
diff --git a/examples/elementary/test_genlist.py b/examples/elementary/test_genlist.py
index 6b14eb0..bc9c907 100644
--- a/examples/elementary/test_genlist.py
+++ b/examples/elementary/test_genlist.py
@@ -160,9 +160,9 @@ def genlist_clicked(obj, item=None):
gli.tooltip_content_cb_set(tooltip_content_cb)
if i == 50:
- bt_50._callback_add("clicked", lambda bt, it: it.bring_in(), gli)
+ bt_50.callback_clicked_add(lambda bt, it: it.bring_in(), gli)
elif i == 1500:
- bt_1500._callback_add("clicked", lambda bt, it: it.bring_in(), gli)
+ bt_1500.callback_clicked_add(lambda bt, it: it.bring_in(), gli)
win.resize(480, 800)
win.show()
@@ -793,7 +793,7 @@ def genlist11_clicked(obj, item=None):
gl.item_append(itc11, i)
bx.pack_end(gl)
gl.show()
-
+
win.show()
if __name__ == "__main__":