pygtk has not used swig for a while. I now use some .defs files like
those used to generate the guile and perl bindings. If you want to see an
example of wrapping up an addon widget for use with pygtk, I suggest you
look at the wrapper for the zvt library in gnome-python. Note that
gnome-python does not compile correctly with gnome-libs-1.0.9 at the
moment -- I am fixing this though.
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
On Wed, 12 May 1999, William Allen wrote:
> I've been writing some "quasi-production" apps using pygtk at work lately. Quasi
>because
> neither python nor gtk are "approved" technologies, but the look and feel have
> been well received by the users.
>
> I downloaded GtkSheet the other day and it looks very good. I thought about
> adding that functionality to pygtk. Since I noticed some swig-iness to pygtk,
> I figured that I would swigify GtkSheet, then smoothly add it as a new class.
> It swigified OK, but I can't see any path to integrate the resulting python
> modules with pygtk without actually editing pygtk code, which I was hoping to
> avoid since GtkSheet will by its nature be on an independent development schedule
> from gtk.
>
> So my question becomes, is there a "plug-in" path for adding functionality to pygtk,
> or does new functionality have to be added code-wise to pygtk?
>
> --
> Bill Allen
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
>
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]