diff options
author | James Henstridge <james@daa.com.au> | 2002-08-19 06:44:12 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2002-08-19 06:44:12 +0000 |
commit | 71b6a0695e25996a816937f78d2ce2aa0989e999 (patch) | |
tree | c7e273d4013c8f6ec0b5f7d57f76814e60c72a43 /examples/pango | |
parent | a1047e490d6cc0ce7d0284f3c518781499ffd738 (diff) | |
download | pygtk-71b6a0695e25996a816937f78d2ce2aa0989e999.tar.gz |
fix small typo.
2002-08-19 James Henstridge <james@daa.com.au>
* codegen/codegen.py
(GObjectWrapper.get_initial_constructor_substdict): fix small
typo.
Diffstat (limited to 'examples/pango')
-rw-r--r-- | examples/pango/utf8-demo.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/examples/pango/utf8-demo.py b/examples/pango/utf8-demo.py index 8d3f07f8..fccbc77e 100644 --- a/examples/pango/utf8-demo.py +++ b/examples/pango/utf8-demo.py @@ -49,12 +49,20 @@ Difference among chinese characters in GB, JIS, KSC, BIG5:\u200E BIG5\t--\t\u5143\u6C23\t\u958B\u767C ''' -w = gtk.Window() -w.set_border_width(10) +win = gtk.Window() +win.connect('destroy', gtk.mainquit) +win.set_default_size(600, 400) + +swin = gtk.ScrolledWindow() +swin.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) +win.add(swin) +swin.show() + l = gtk.Label(hellos) -w.add(l) +swin.add_with_viewport(l) l.show() -w.show() + +win.show() gtk.main() |