aboutsummaryrefslogtreecommitdiffstats
path: root/examples/elementary/test_photo.py
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2016-08-12 10:00:14 +0200
committerDave Andreoli <dave@gurumeditation.it>2016-08-12 10:04:49 +0200
commit78d90dd467ddc472e10b72f8ffe9af9dbbc9778b (patch)
tree5380229bb42b92f45bab75e8be6338cb84cce366 /examples/elementary/test_photo.py
parentPartial revert of ecd93319ee011ca7d01f6ed1481859239b8f8c33 (diff)
downloadpython-efl-78d90dd467ddc472e10b72f8ffe9af9dbbc9778b.tar.gz
New 1.18 API: 3 new getters for elm.Photo
NOTE: the test for the editable property is failing...need to recheck this!
Diffstat (limited to 'examples/elementary/test_photo.py')
-rw-r--r--examples/elementary/test_photo.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/elementary/test_photo.py b/examples/elementary/test_photo.py
index 553b23a..dbf9fbb 100644
--- a/examples/elementary/test_photo.py
+++ b/examples/elementary/test_photo.py
@@ -55,6 +55,11 @@ def photo_clicked(obj):
ph.fill_inside = True
ph.style = "shadow"
+ if j == i == 0:
+ print("Size:", ph.size)
+ print("Fill Inside:", ph.fill_inside)
+ print("Editable:", ph.editable) # THIS ONE IS FAILING !!
+
tb.pack(ph, i, j, 1, 1)
ph.show()