aboutsummaryrefslogtreecommitdiffstats
path: root/examples/elementary/test_tooltip.py
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-04-14 01:46:39 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-04-14 01:46:39 +0300
commitae64f89ab5e79b50e96ea1de2301e8f9216adc2a (patch)
treefb2de0129b4f8424bfc445b5ab50e2e5f69ede03 /examples/elementary/test_tooltip.py
parentCode cleanup: List creation could be rewritten as a list literal (diff)
downloadpython-efl-ae64f89ab5e79b50e96ea1de2301e8f9216adc2a.tar.gz
Code cleanup: Trailing semicolon in the statement
Diffstat (limited to 'examples/elementary/test_tooltip.py')
-rw-r--r--examples/elementary/test_tooltip.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/elementary/test_tooltip.py b/examples/elementary/test_tooltip.py
index dee4266..be8c5a9 100644
--- a/examples/elementary/test_tooltip.py
+++ b/examples/elementary/test_tooltip.py
@@ -174,13 +174,13 @@ def tooltip_clicked(obj):
value = data.get("value")
data["value"] = not value
if value:
- obj.text_set("Unlocked tooltip visibility");
+ obj.text_set("Unlocked tooltip visibility")
obj.tooltip_hide()
else:
- obj.text_set("Locked tooltip visibility");
+ obj.text_set("Locked tooltip visibility")
obj.tooltip_show()
- bt = Button(win, text="Unlocked tooltip visibility");
+ bt = Button(win, text="Unlocked tooltip visibility")
bt.tooltip_text_set(
"This tooltip is unlocked visible,<br> click the button to lock!")
data = dict()
@@ -190,13 +190,13 @@ def tooltip_clicked(obj):
def _tt_move_freeze_toggle(obj, *args, **kargs):
if obj.tooltip_move_freeze_get():
- obj.text_set("Unfreezed tooltip movement");
+ obj.text_set("Unfreezed tooltip movement")
obj.tooltip_move_freeze_pop()
else:
- obj.text_set("Freezed tooltip movement");
+ obj.text_set("Freezed tooltip movement")
obj.tooltip_move_freeze_push()
- bt = Button(win, text="Freezed tooltip movement");
+ bt = Button(win, text="Freezed tooltip movement")
bt.tooltip_text_set(
"This tooltip has freezed movement,<br> click the button to unfreeze!")
bt.tooltip_move_freeze_push()