[pygtk] pygtk and python3 (ctypes-gtk)
Hart's Antler
bhartsho at yahoo.com
Thu Jan 6 11:08:16 WST 2011
Hi All,I have some initial ctypes bindings for gtk that work in both python2 and 3. I haven't tested it to the point of opening a window, because i am not familiar with the C API of GTK. I am able to load the lib and call a few functions, so i think its working it just needs the proper startup, maybe somebody can help correcting testgtk.py so it can open a hello-world window. This was tested on ubuntu 10.10, it should work on any platform if you change the location of 'libgtk....so' to point to where your OS has it (you can also point it to _gtk.so from the pygtk package, seems to work the same).
http://code.google.com/p/rpythonic/downloads/detail?name=ctypes-gtk-test1.tar.bz2
-brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110105/cdd3ab9e/attachment.html>
More information about the pygtk
mailing list