[pygtk] unable to wrap my Interface

Gian Mario Tagliaretti gianmt at gnome.org
Wed Aug 15 02:11:43 WST 2007


2007/8/14, John Finlay <finlay a moeraki.com>:

> h2def.py doesn't write define-interface lines if I recall correctly -
> just change the define-object line. You could try defsgen.py:
>
> http://svn.gnome.org/viewcvs/pygtk/trunk/codegen/defsgen.py?view=log
>
> which uses ctypes to generate .defs - its more comprehensive in
> generating .defs.

else you can change manually object to interface and use scanvirtuals.py

http://svn.gnome.org/viewcvs/pygtk/trunk/codegen/scanvirtuals.py?view=log

to retrive the virtual methods.

cheers
-- 
Gian Mario Tagliaretti


More information about the pygtk mailing list