Finally looked at the interface, and I see your problem.  There is no
type information to handle GtkSpell*. Too bad GtkSpell isn't
GObject-based: it would make wrapping in language bindings so much
easiear...
   Because of this, you cannot use pygtk-codegen to wrap GtkSpell.  You
have two choices:
        1- Persuade the GtkSpell developers to GObjectify the API;
        2- Do manual wrapping, creating a PyGtkSpell object type with a few
methods (see http://python.org/doc/current/ext/ext.html)

  In my opinion, option 1 is the best, but it means to wait for the
release of GtkSpell3.

  Let me know if you need further assistance, preferably during a
weekend.  Regards.

A Ter, 2004-02-17 �s 15:19, John (J5) Palmieri escreveu:
> Its up again:
> 
> http://martianrock.com/dropzone/pygtkspell.tar.gz
> 
> Sorry for the inconvenience.  Thanks for looking at the code and giving
> me pointers.
> 
> --
> J5
> 
> On Tue, 2004-02-17 at 08:44, John (J5) Palmieri wrote:
> > On Tue, 2004-02-17 at 06:23, Gustavo J. A. M. Carneiro wrote:
> > > A Seg, 2004-02-16 �s 22:17, John (J5) Palmieri escreveu:
> > > > Just an update to this, the function that was wrapped is deprecated in
> > > > the current GtkSpell.  The rest of the methods that need to be wrapped
> > > > reference the GtkSpell struct which acts like a GObject based object but
> > > > in does not have any type information.  I want to wrap the struct as if
> > > > it were a part of the GObject system.  How would I go about doing this
> > > > cleanly (I'm not afraid to get my hands dirty with Python wrapping
> > > > code)? 
> > > > 
> > > > The current wrappers can be gotten from:
> > > > 
> > > > http://martianrock.com/dropzone/pygtkspell.tar.gz
> > > 
> > > 11:22:44 ERROR 503: Service Unavailable.
> > 
> > Sorry, I was just informed there is something wrong with internet
> > connections at the colocation site in PA.  My provider is looking into
> > it.
> > 
> > --
> > J5
> > 
> > > :(
> > 
> > _______________________________________________
> > pygtk mailing list   [EMAIL PROTECTED]
> > http://www.daa.com.au/mailman/listinfo/pygtk
> > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
-- 
Gustavo Jo�o Alves Marques Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
The universe is always one step beyond logic.

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to