|
Hi,
I'm actually developing an application
standing at Gtk having two parts - Ansi C and Python.
The problem I met is how to get a C pointer of Gtk
object relating to Python pyGtk object and vice versa.
Example:
Python:
button = gtk.Button()
C:
gtk_widget_destroy(button)
I've found some solution speaking about "_o"
field of pyGtk object. However my object doesn't seem to have such pointer.
Also, the descriptions speak about gtk.GtkButton instead of
gtk.Button.
Is it version mismatch? I'm using pygtk-2.0 and python 2.2.x
So, is there a way to get pointer to wrapped pygtk
object? Is there a way to create pygtk wrapper to already existing gtk
object?
Thanks very for help.
Tobbi
|
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
