Gian Mario Tagliaretti wrote:
2007/7/4, Michael Sheldon <[EMAIL PROTECTED]>:
Hi Mike,
Nevermind, managed to work it out in the end. For anyone else with a
similar
problem the solution is that because h2def.py doesn't detect if
something is
an interface you need to modify the def to use "define-interface"
instead of
"define-object".
You can use scanvirtuals.py
http://svn.gnome.org/viewcvs/pygtk/trunk/codegen/scanvirtuals.py?view=markup
cheers
Also you could try the defgen.py program that uses the ctypes module to
extract information from the installed module library (or libraries) to
generate the object, interface, function, method, virtual, enum and
flags defs. It's in the pygtk/codegen directory in the pygtk source.
John
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/