aboutsummaryrefslogtreecommitdiffstats
path: root/examples/elementary/test_naviframe.py
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-03-01 16:35:20 +0100
committerdavemds <dave@gurumeditation.it>2014-03-01 16:35:20 +0100
commitde154b7930e8bacee2b9b11d17733b1d504eddd4 (patch)
tree0b5d0262353442e2ed55993ce91af04ee58119cc /examples/elementary/test_naviframe.py
parentPython-EFL: new 1.9 API: Layout.content_swallow_list_get() (diff)
downloadpython-efl-de154b7930e8bacee2b9b11d17733b1d504eddd4.tar.gz
Python-EFL: New 1.9 API: Naviframe.title_enabled (title_visible deprecated)
Diffstat (limited to 'examples/elementary/test_naviframe.py')
-rw-r--r--examples/elementary/test_naviframe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/elementary/test_naviframe.py b/examples/elementary/test_naviframe.py
index 89819df..24ba6fb 100644
--- a/examples/elementary/test_naviframe.py
+++ b/examples/elementary/test_naviframe.py
@@ -22,7 +22,7 @@ def navi_pop(bt, nf):
nf.item_pop()
def title_visible(obj, item):
- item.title_visible = not item.title_visible
+ item.title_enabled = (not item.title_enabled, True)
def page2(bt, nf):
ic = Icon(nf, file=os.path.join(img_path, "icon_right_arrow.png"))
@@ -63,7 +63,7 @@ def page4(bt, nf):
ic = Icon(nf, file=os.path.join(img_path, "logo_small.png"))
item.part_content_set("icon", ic)
item.part_text_set("subtitle", "Title area visibility test")
- item.title_visible_set(False)
+ item.title_enabled = (False, False)
content.callback_clicked_add(title_visible, item)