summaryrefslogtreecommitdiff
path: root/examples/pygtk-demo/demos/buttonbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pygtk-demo/demos/buttonbox.py')
-rw-r--r--examples/pygtk-demo/demos/buttonbox.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/pygtk-demo/demos/buttonbox.py b/examples/pygtk-demo/demos/buttonbox.py
index 91b434b2..60608373 100644
--- a/examples/pygtk-demo/demos/buttonbox.py
+++ b/examples/pygtk-demo/demos/buttonbox.py
@@ -4,6 +4,8 @@
This demo shows various button box configurations available. It also
uses stock buttons, and use of mnemonics for navigation.'''
+import pygtk
+pygtk.require('2.0')
import gtk
def create_bbox(horizontal=True, title=None, spacing=0,