GNOME Bugzilla – Bug 658557
Can't find some functions in python
Last modified: 2012-08-25 20:14:06 UTC
When using Pango in python via gi.repository I can't find certain functions eg pango_attr_weight_new. AFAICT from reading the .gir file in the source this should be available as Pango.attr_weight_new. Nor can I find a Pango.Attribute object. How can I find the contents of a module imported from gi.repository? If I run python interactively and type from gi.repository import Pango help(Pango) I just get some information about generic members of a gi helper class.
Yeah, the attributes are not bound. They're tricky. That's filed, can't find it right now.
OK. I can work around this by using markup instead so it's not a big deal.
*** This bug has been marked as a duplicate of bug 646788 ***