[pygtk] Re: Overriding GObject methods in Python
Murray Cumming
murrayc at murrayc.com
Fri Nov 24 17:33:41 WST 2006
On Thu, 2006-11-23 at 12:27 +0100, Hrvoje Nikšić wrote:
[snip]
> The problem is that the fields of XyzClass and its descendants are C
> struct members, as inaccessible to Python code as any field of a C
> struct, at least without heavy ctypes hackery.
[snip]
But I guess that pygtk (like other bindings) has a standard way of
wrapping these, because they are needed in order to implement custom
GtkTreeModels or GtkCellRenderers, among other things.
--
Murray Cumming
murrayc at murrayc.com
www.murrayc.com
www.openismus.com
More information about the pygtk
mailing list