Impossible to work with vala APIs
@xclaesse
Submitted by Xavier Claessens Link to original bug (#759646)
Description
Vala APIs usually won't use GList/GHashTable but libgee types. See for example this gir from folks:
`` `` `` ``In theory pygobject has the needed info to convert this into a proper python list, but that means it must know about libgee API. As workaround, pygobject could let user create their PyObject wrapper when they know the expected type. The above API would then be used in python like this:
l = [] collection = store.list_backends() i = collection.iteractor() while i.next(): l.append(Folks.Backend.wrap(i.get(), True))