The program gives me an error -
Traceback (most recent call last):
 File "./skin.py", line 102, in ?
   w = PyGtkWidget()
 File "./skin.py", line 29, in __init__
   gtk.Widget.__init__(self)
TypeError: cannot create instance of abstract (non-instantiable) type
`GtkWidget'

Gustavo linked to the wrong version, the one he linked to required
PyGTK 2.7.x or CVS.

You want to use this:
http://cvs.gnome.org/viewcvs/gnome-python/pygtk/examples/gtk/widget.py?rev=1.7.4.1&view=markup

which works fine using PyGTK 2.6.x (but not 2.4.x!)

--
Johan Dahlin <[EMAIL PROTECTED]>
Async Open Source


begin:vcard
fn:Johan Dahlin
n:Dahlin;Johan
org:Async Open Source;Development
adr;quoted-printable:Jardim Macarengo;;Rua Orlando Damiano, 2212;S=C3=A3o Carlos;SP;13560-450;Brazil
email;internet:[EMAIL PROTECTED]
title:Software developer
tel;work:+55 16 3376 0125
tel;fax:+55 16 3501 5394
tel;home:+55 16 3501 5332
tel;cell:+55 16 9112 6219
x-mozilla-html:FALSE
url:http://www.async.com.br
version:2.1
end:vcard

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to