aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2012-11-20 16:19:47 +0200
committerYakov Goldberg <yakov.g@samsung.com>2012-11-20 16:21:50 +0200
commit26ddb3073c77bdd564a411e1559a07b256cb3874 (patch)
tree792c6d17a817d80b15c0dd562fa0b7e8e52a30df
parentREADME updated (diff)
downloadeo_bindings-26ddb3073c77bdd564a411e1559a07b256cb3874.tar.gz
Py Examples updated
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
-rw-r--r--examples/evas_elem_test.py7
-rw-r--r--examples/evas_test.py11
2 files changed, 14 insertions, 4 deletions
diff --git a/examples/evas_elem_test.py b/examples/evas_elem_test.py
index ce0a7d6..5c240fd 100644
--- a/examples/evas_elem_test.py
+++ b/examples/evas_elem_test.py
@@ -37,6 +37,13 @@ but = ElmButton(w1)
box.pack_end(but)
but.visibility_set(1)
+d = w1.screen_dpi_get()
+print d
+d = w1.role_get()
+print d
+d = w1.fullscreen_set(1)
+
+
elem_run()
"""
diff --git a/examples/evas_test.py b/examples/evas_test.py
index 632296f..2a15b9b 100644
--- a/examples/evas_test.py
+++ b/examples/evas_test.py
@@ -41,19 +41,20 @@ def properties_cb(obj):
######################## setting data ##########################
def data_cb(obj):
- print "setting data"
+ print "setting data - int : 5"
i = 5
obj.data_set("int", i)
i = 999999
f = obj.data_get("int")
+ print "getting data"
print f, type(f)
f = obj.data_del("int")
#ebb.data_set("list", ["a", "bb", "cc", "asdfasfd", "1234124", "asdf", "123", "12"])
-#ebb.data_set("list", ["xx", "yy", "zz"])
-#f = ebb.data_get("list")
-#print f, type(f)
+ #ebb.data_set("list", ["xx", "yy", "zz"])
+ #f = ebb.data_get("list")
+ #print f, type(f)
#l = ["a", "b", "c", "asd", "123"]
#ebb.data_set("list2", l)
@@ -62,12 +63,14 @@ def data_cb(obj):
# f = obj.data_get("list2")
# print f, type(f)
+ print "setting data - char : string data"
obj.data_set("char", "string data")
f = obj.data_get("char")
print f, type(f)
obj.data_set("object",pb)
f = obj.data_get("object")
+ print "getting data"
print f, type(f)
#f.text_set("neeew name")
#f = ebb.data_del("object")