Tim> hi,
    Tim> i'd like to use pygtk widget classes as base classes to my own, like

    Tim> class myVBox (GtkVBox):
    Tim>   ...

    Tim> now if i understand correctly, the python wrapping code in gtk.py
    Tim> is planned to be rewritten in c. will this break code like above?

I believe it should work.  The new version uses Digital Creations'
ExtensionClass to allow objects to be subclassed in Python.

    >>> import gtk
    ...
    >>> type(gtk.GtkWindow)
    <extension class ExtensionClass at 401c9f20>

-- 
Skip Montanaro ([EMAIL PROTECTED])
(847)971-7098
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to