Author aafshar
Recipients aafshar, georg.brandl
Date 2008-05-03.17:18:52
SpamBayes Score 0.0464161
Marked as misclassified No
Message-id <1209835134.72.0.0778910402245.issue2747@psf.upfronthosting.co.za>
In-reply-to
Content
When using the automodule directive on a module that creates new Gobject
types (eg custom PyGTK widget), the implicit registration of the
imported types fail. (Normally any GObject subclass which has a
__gtype_name__ attribute is automatically registered as a new GType
using a metaclass.

I have had a dig around some of the code of gobject, and pygobject, but
not really any help to me.

http://svn.gnome.org/viewvc/pygobject/trunk/gobject/gobjectmodule.c?revision=777&view=markup
http://svn.gnome.org/viewvc/glib/trunk/gobject/gtype.c?revision=6454&view=markup

If anyone wants a quick look.

The directive I am using is:

.. automodule:: pygtkdock
    :members:



I have also attached the exception I am getting.
History
Date User Action Args
2008-05-03 17:18:55aafsharsetspambayes_score: 0.0464161 -> 0.0464161
recipients: + aafshar, georg.brandl
2008-05-03 17:18:54aafsharsetspambayes_score: 0.0464161 -> 0.0464161
messageid: <1209835134.72.0.0778910402245.issue2747@psf.upfronthosting.co.za>
2008-05-03 17:18:53aafsharlinkissue2747 messages
2008-05-03 17:18:53aafsharcreate