[pygtk] PyGTK and C

Gonzalo Aguilar Delgado gad at aguilardelgado.com
Thu Mar 23 07:57:14 WST 2006


Hello all!!!

I'm building a program with scripting support and I'm using Python as
you supposed...

I have the scripting engine in place and want it to be able to get data
from my GTK controls. Even more, I want Python to control the way
information is displayed inside a GTK frame. 

I know that PyGTK can create objects and interact with GTK, but my
problem is:

	How do I pass a reference from C language to a container so the PyGTK
enabled script can create new Widgets inside.

I know how to pass C basic types but not widgets...

I want also to avoid any Class-like interface under Python if this is
possible.

Thank you all.


-- 
Gonzalo Aguilar Delgado - Ingeniero en Informática
        [ Seguridad & Medios de pago ]



More information about the pygtk mailing list