summaryrefslogtreecommitdiffstats
path: root/superkaramba/examples/disableRightClickMenu/disable_menu.py
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/examples/disableRightClickMenu/disable_menu.py')
-rw-r--r--superkaramba/examples/disableRightClickMenu/disable_menu.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/superkaramba/examples/disableRightClickMenu/disable_menu.py b/superkaramba/examples/disableRightClickMenu/disable_menu.py
index 6c524dd..e903d26 100644
--- a/superkaramba/examples/disableRightClickMenu/disable_menu.py
+++ b/superkaramba/examples/disableRightClickMenu/disable_menu.py
@@ -45,7 +45,7 @@ def widgetClicked(widget, x, y, button):
if text2:
karamba.deleteText(widget,text2)
text2 = karamba.createText(widget,5,70,400,20,newText)
- print newText
+ print(newText)
elif not clicked and button == 1:
clicked = True
karamba.setWantRightButton(widget, True)
@@ -53,9 +53,9 @@ def widgetClicked(widget, x, y, button):
if text2:
karamba.deleteText(widget,text2)
text2 = karamba.createText(widget,5,70,400,20,newText)
- print newText
+ print(newText)
if button == 3:
- print "Clicking the right mouse button is recognized now."
+ print("Clicking the right mouse button is recognized now.")
karamba.redrawWidget(widget)
#This gets called everytime our widget is clicked.
@@ -173,4 +173,4 @@ def keyPressed(widget, meter, char):
pass
# This will be printed when the widget loads.
-print "Loaded my python extension!"
+print("Loaded my python extension!")