summaryrefslogtreecommitdiff
path: root/examples/simple/tooltip.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple/tooltip.py')
-rwxr-xr-xexamples/simple/tooltip.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/simple/tooltip.py b/examples/simple/tooltip.py
index 0ef1d2b8..2d1755b4 100755
--- a/examples/simple/tooltip.py
+++ b/examples/simple/tooltip.py
@@ -3,6 +3,8 @@
""" Simple example of creating a basic window and button.
Also adds a tooltip. """
+import pygtk
+pygtk.require('2.0')
import gtk
def hello_cb(widget, main_window):