[pygtk] unable to wrap my Interface
varun_shrivastava
shrivastavavarun at yahoo.co.in
Thu Aug 16 12:31:16 WST 2007
John Finlay wrote:
>
> 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.
>
> John
>
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
>
i tried using defsgen.py but it displays following error message
Traceback (most recent call last):
File "/usr/local/share/pygtk/2.0/codegen/defsgen.py", line 85, in <module>
import ctypes
File "/usr/local/lib/python2.5/ctypes/__init__.py", line 10, in <module>
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
varun
--
View this message in context: http://www.nabble.com/unable-to-wrap-my-Interface-tf4266619.html#a12175158
Sent from the Gtk+ - Python mailing list archive at Nabble.com.
More information about the pygtk
mailing list