[pygtk] Existing C/GTK application

Alberto Ruiz aruiz at gnome.org
Fri Sep 4 22:23:48 WST 2009


2009/9/4 Rick Hightower <richardhightower at gmail.com>:
> I have an existing C/GTK application. I would like to write all new features
> in Python using PyGTK.
> Is there any way to write widgets in PyGTK and use them easily in a C/GTK
> based application?

If you write a widget in PyGTK, using it from a C app would be quite a
challege. Where's the .h file be coming from for example? It is not
technically impossible, but it's a huge challenge.

But anyway, what's the point of rewritting your app in PyGtk if you're
going to use C anyway?

> Are there examples of this somewhere?
>
> Essentially I want to add a Widget to a parent where the Widget is managed
> by PyGTK and the parent is in the C/GTK application.
>
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>



-- 
Un saludo,
Alberto Ruiz


More information about the pygtk mailing list