summaryrefslogtreecommitdiff
path: root/examples/pygtk-demo/demos/panes.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pygtk-demo/demos/panes.py')
-rw-r--r--examples/pygtk-demo/demos/panes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/pygtk-demo/demos/panes.py b/examples/pygtk-demo/demos/panes.py
index 007ec077..8829547a 100644
--- a/examples/pygtk-demo/demos/panes.py
+++ b/examples/pygtk-demo/demos/panes.py
@@ -8,6 +8,8 @@ There are a number of options that can be set for each pane. This test contains
both a horizontal(HPaned) and a vertical(VPaned) widget, and allows you to
adjust the options for each side of each widget."""
+import pygtk
+pygtk.require('2.0')
import gtk
class PanedWidgetsDemo(gtk.Window):