summaryrefslogtreecommitdiff
path: root/examples/pango
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2002-06-24 16:06:51 +0000
committerJames Henstridge <jamesh@src.gnome.org>2002-06-24 16:06:51 +0000
commitab53445889b52fa07f938791ac852b10b04b2be4 (patch)
tree51d303d7cbff8e6652b8abfcdb8888060f5901d2 /examples/pango
parent236c95e59b090150161e8e4e4c14353f1b063186 (diff)
downloadpygtk-ab53445889b52fa07f938791ac852b10b04b2be4.tar.gz
fix definition, as reported by Thomas Leonard <tal00r@ecs.soton.ac.uk>
2002-06-24 James Henstridge <james@daa.com.au> * gtk/gtk.defs (drag_source_set_icon_pixbuf): fix definition, as reported by Thomas Leonard <tal00r@ecs.soton.ac.uk>
Diffstat (limited to 'examples/pango')
-rw-r--r--examples/pango/utf8-demo.py (renamed from examples/pango/pango.py)7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/pango/pango.py b/examples/pango/utf8-demo.py
index a8788cad..8d3f07f8 100644
--- a/examples/pango/pango.py
+++ b/examples/pango/utf8-demo.py
@@ -1,5 +1,5 @@
# order is important here (for now)
-import ltihooks, ExtensionClass, gobject, gtk
+import gobject, gtk
# string taken from pango examples directory and converted from utf8
# to python unicode string escapes
@@ -49,11 +49,12 @@ Difference among chinese characters in GB, JIS, KSC, BIG5:\u200E
BIG5\t--\t\u5143\u6C23\t\u958B\u767C
'''
-w = gtk.GtkWindow()
+w = gtk.Window()
w.set_border_width(10)
-l = gtk.GtkLabel(hellos)
+l = gtk.Label(hellos)
w.add(l)
l.show()
w.show()
gtk.main()
+