After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 693480 - Make it possible to register custom converters for Arguments
Make it possible to register custom converters for Arguments
Status: RESOLVED DUPLICATE of bug 686261
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other Mac OS
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2013-02-09 16:14 UTC by Johan (not receiving bugmail) Dahlin
Modified: 2013-02-17 10:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johan (not receiving bugmail) Dahlin 2013-02-09 16:14:06 UTC
Looking at Gtk.py there's a lot of duplication for some argument types such as GtkTreePath.
It would be great if a generic converter could be registered for that so that could be avoided,
something like:

   gi.register_custom_converters('GtkTreePath', from_, to_)

Having something like that would Gtk.py shrink significantly.
It used to be possible with the old pygtk code generator.
Comment 1 Simon Feltman 2013-02-17 10:33:51 UTC

*** This bug has been marked as a duplicate of bug 686261 ***