aboutsummaryrefslogtreecommitdiffstats
path: root/examples/elementary/test_focus.py
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-04-14 02:32:16 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-04-14 02:32:16 +0300
commit6408f8d318ef2258fd35d0dfd134ff113ea2bb7a (patch)
treeb64442af00f632b1dfae6fd2efcf7d9d99a72f04 /examples/elementary/test_focus.py
parentCode cleanup: Trailing semicolon in the statement (diff)
downloadpython-efl-6408f8d318ef2258fd35d0dfd134ff113ea2bb7a.tar.gz
Code cleanup: Print statements => functions
Diffstat (limited to 'examples/elementary/test_focus.py')
-rw-r--r--examples/elementary/test_focus.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/elementary/test_focus.py b/examples/elementary/test_focus.py
index a428711..9856a64 100644
--- a/examples/elementary/test_focus.py
+++ b/examples/elementary/test_focus.py
@@ -227,12 +227,12 @@ def focus_clicked(obj, item=None):
# Focus 2
def _focus_obj(bt, newfocus):
- print newfocus
+ print(newfocus)
newfocus.focus = True
def _focus_layout_part(bt, layout):
newfocus = layout.edje.part_object_get("sky")
- print newfocus
+ print(newfocus)
newfocus.focus = True
@@ -308,12 +308,12 @@ def focus2_clicked(obj, item=None):
focused = None
def _focused_cb(obj):
global focused
- print obj
+ print(obj)
focused = obj
def _unfocused_cb(obj):
global focused
- print obj
+ print(obj)
focused = None
def _add_cb(bt, win, bx):
@@ -383,12 +383,12 @@ def _win_highlight_animate_cb(chk, win):
win.focus_highlight_animate = chk.state
def _custom_chain_cb(chk, bx):
- print chk.state
+ print(chk.state)
if chk.state is True:
i = 0
custom_chain = []
for child in bx.children:
- print child
+ print(child)
if i == 0:
c = child
custom_chain.append(child)