diff options
Diffstat (limited to 'examples/gtk/sizegroup.py')
-rw-r--r-- | examples/gtk/sizegroup.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/gtk/sizegroup.py b/examples/gtk/sizegroup.py index a88308d3..10658732 100644 --- a/examples/gtk/sizegroup.py +++ b/examples/gtk/sizegroup.py @@ -12,6 +12,8 @@ aligned vertically. We can accomplish this by adding a horizontal sizegroup to the labels. """ +import pygtk +pygtk.require('2.0') import gtk def create_label(text): |