(top posting) Anyone has any ideas on how to solve below issue? Any help would be welcomed.
On 3 August 2011 20:13, Jon Nordby <[email protected]> wrote: > Hi, > I'm working on gegl-qt, a convenience library for using gegl[2] in Qt > applications. gegl-qt provides a couple of Qt widgets that I would > like to provide Python bindings for using PySide. > > The issue I'm facing is that most of the widgets provided have methods > with the following signature. > > GeglNode *inputNode() const; > void setInputNode(GeglNode *node); > > where GeglNode is a GObject provided by gegl. Shiboken ignores these > because it does not know what to do with the GeglNode *. gegl already > has Python bindings using GObject Introspection, and I wish to make > use of these. So I somehow need to tell Shiboken about the mapping > between the C type and the existing Python type. How do I achieve > this? > > The work-in-progress, including a test case, can be found at > http://git.gnome.org/browse/gegl-qt/commit/?h=pyside > > 1. http://git.gnome.org/browse/gegl-qt/ > 2. http://www.gegl.org > > -- > Jon Nordby - www.jonnor.com > -- Jon Nordby - www.jonnor.com _______________________________________________ PySide mailing list [email protected] http://lists.pyside.org/listinfo/pyside
