[pygtk] PyGTK GUI for a C program?

Maximilian Wilson wilson.max at gmail.com
Mon Feb 18 00:41:42 WST 2008


2008/2/17 Jeff Bullard <jlbullard at gmail.com>:
> I briefly looked at the html document called "Python/C API reference manual"
> on the python.org site.  That looked very painful.  If it is that hard I
> think I may be better off rewriting the GUI using the C interface to GTK.
> Please advise me on the best approach.

Don't use the raw API. Use Pyrex (or Boost/Python if you don't mind
C++) for interfacing between C and Python.

Sorry for the short reply. Thoughts on PyGTK/C interface some other time.

-Max


-- 
"The presentation or 'gift' of the Holy Ghost simply confers upon a
man the right to receive at any time, when he is worthy of it and
desires it, the power and light of truth of the Holy Ghost, although
he may often be left to his own spirit and judgment." --Joseph F.
Smith (manual, p. 69)

Be pretty if you are,
Be witty if you can,
But be cheerful if it kills you.


More information about the pygtk mailing list